How to putty into DSL
I've got DSL set up on a box at home. I can putty over my network to my Ubuntu box, but not the DSL box.
I have SSHD running on the DSL box. What am I missing? I googled for instructions, but couldn't find them, at least not clear ones that made sense. |
Did you make sure the firewall is open to your SSH port?
|
This would be in my home network, not from outside.
|
Still a valid suggestion of something to look at..
Output of the following commands reveal anything ? iptables -L - I guess this should be ACCEPT for all policies since you intimated that you don't have local firewall running on the box.. netstat -lanp | grep :22 - Is the SSH Daemon actually listening on all IP's and the correct port another place to look if all of that is correct, is in the sshd_config is sshd configured to use tcp wrappers ? if so is hosts.allow and hosts.deny configured correctly ? |
Here's what I get:
root@box:/home/dsl# netstat -lanp |grep :22 tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 708/sshd root@box:/home/dsl# iptables -L bash: iptables: command not found root@box:/home/dsl# cat /etc/ssh/sshd_config # $OpenBSD: sshd_config,v 1.38 2001/04/15 21:41:29 deraadt Exp $ Port 22 HostKey /etc/ssh/ssh_host_key HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_dsa_key ServerKeyBits 768 LoginGraceTime 600 KeyRegenerationInterval 3600 PermitRootLogin yes IgnoreRhosts yes StrictModes yes X11Forwarding yes X11DisplayOffset 10 PrintMotd no PrintLastLog no KeepAlive yes SyslogFacility AUTH LogLevel INFO RhostsAuthentication no RhostsRSAAuthentication no HostbasedAuthentication no RSAAuthentication yes PasswordAuthentication yes PermitEmptyPasswords no Subsystem sftp /usr/lib/sftp-server root@box:/home/dsl# cat /etc/hosts.allow # /etc/hosts.allow: list of hosts that are allowed to access the system. ssh sshd : ALL@ALL : ALLOW ALL : 127.0.0.1 LOCAL : ALLOW ALL : ALL@ALL : DENY |
nothing looks obviously out of place in your system configuration...
|
I updated my hosts.allow, with more detail about ssh and sshd.
It is working now. I've limited it to in network, which is fine for me. Thanks for the help. |
All times are GMT -5. The time now is 02:05 AM. |