Results 1 to 10 of 12
I have 2 computer: 1 computer install ubuntu v9.10, in this computer already installed openssh-server and openssh-client, and 1 computer install windows. In computer with windows , i used putty ...
- 02-11-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 6
How to use Putty connect to Ubuntu?
I have 2 computer: 1 computer install ubuntu v9.10, in this computer already installed openssh-server and openssh-client, and 1 computer install windows. In computer with windows , i used putty connect to computer with ubuntu, but i can't connect. I don't understand what's error.
In the Putty , i configured:
IP : IP address of computer Ubuntu.
Port 22
Connection Type SSH
This is error: "Network Error: Software caused connection abort"
In computer with windows, i can ping computer with ubuntu and in computer with ubuntu i can ping computer with windows.
I already checked computer with ubuntu :
- /etc/ssh/sshd_config: in this file port 22, PermitRootLogin yes...
And in this machine installed with openssh-server, and openssh-client. But in this time, this error is maintaining, i don't find idea to fix this error.
- 02-11-2010 #2
Check the file /etc/hosts.allow
It is likely you need to specifically allow your windows client to connect to your server. The simplest and least secure form would be to put
But you could put that in there as a test. If it works, you know that was the problem and you can change it to something more secure.Code:sshd: ALL
hosts.allow - Linux Command - Unix Command
Keeping SSH access secure
- 02-12-2010 #3Just Joined!
- Join Date
- Feb 2010
- Posts
- 6
Thanks for your reply, but now it doesn't work
!
In my auth.log this is error:
i don't understand this error, and how can fix it? Can you give some idea?Code:error: ssh_selinux_getctxbyname: Failed to get default SELinux security context for kobold error: ssh_selinux_setup_exec_context: Failed to set SELinux execution context for kobold
- 02-17-2010 #4Just Joined!
- Join Date
- Feb 2010
- Posts
- 6
Who have got any idea? Can give me ,plz! This problem i can't fix it
- 02-17-2010 #5Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Logging in as root is a terrible idea generally - have you tested with regular users?PermitRootLogin yes
- 02-17-2010 #6Just Joined!
- Join Date
- Feb 2010
- Posts
- 1
Are your computers connected via a router?
If yes, on your Ubuntu computer open a terminal and enter ifconfig
Take a note of the ipaddress. Let's say it is 192.168.1.5
On your windows computer, open a command prompt and type ipconfig.
Take a note of the ipaddress. Let's say it is 192.168.1.7
Ping 192.168.1.5
Do you get a response?
open putty on your windows computer
ssh your_ubuntu_username@192.168.1.5
enter your ubuntu password
Are you connected yet?
- 02-17-2010 #7
so if you disable selinux does it fix your problem?
Code:setenforce permissive
linux user # 503963
- 02-17-2010 #8Just Joined!
- Join Date
- Jul 2009
- Posts
- 20
yes disable SElinux or set it on permissive mode as mentioned above ,would permit ssh access to your machine
--Sims
- 02-17-2010 #9Just Joined!
- Join Date
- Feb 2010
- Posts
- 6
I have known that logging in as root is terrible, but i only connect with user root, user kobold in group admin
, i don't understand what's happen?
With 2 computers , i can ping normally ,but i haven't used putty to connect computer ubuntu
i will try to disable selinux, thanks !
- 02-17-2010 #10Just Joined!
- Join Date
- Feb 2010
- Posts
- 6


Reply With Quote
