Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-12-2009, 11:48 AM
|
#1
|
Member
Registered: Dec 2007
Posts: 32
Rep:
|
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.
|
|
|
01-12-2009, 01:11 PM
|
#2
|
LQ Newbie
Registered: Sep 2008
Location: Ohio
Distribution: suse, redhat, ubuntu, fedora
Posts: 17
Rep:
|
Did you make sure the firewall is open to your SSH port?
|
|
|
01-12-2009, 02:08 PM
|
#3
|
Member
Registered: Dec 2007
Posts: 32
Original Poster
Rep:
|
This would be in my home network, not from outside.
|
|
|
01-12-2009, 03:18 PM
|
#4
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep: 
|
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 ?
|
|
|
01-14-2009, 09:24 PM
|
#5
|
Member
Registered: Dec 2007
Posts: 32
Original Poster
Rep:
|
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
|
|
|
01-15-2009, 10:25 AM
|
#6
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep: 
|
nothing looks obviously out of place in your system configuration...
|
|
|
01-15-2009, 02:40 PM
|
#7
|
Member
Registered: Dec 2007
Posts: 32
Original Poster
Rep:
|
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 11:41 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|