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 .
Tags used in this thread
Popular LQ Tags
putty , dsl
01-12-2009, 11:48 AM
#1
Member
Registered: Dec 2007
Posts: 32
Thanked: 0
How to putty into DSL
[
Log in to
get rid of this advertisement]
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
Thanked: 0
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
Thanked: 0
Original Poster
This would be in my home network, not from outside.
01-12-2009, 03:18 PM
#4
Guru
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: Debian Lenny / Squeeze / Sid
Posts: 7,213
Thanked: 246
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
Thanked: 0
Original Poster
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
Guru
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: Debian Lenny / Squeeze / Sid
Posts: 7,213
Thanked: 246
nothing looks obviously out of place in your system configuration...
01-15-2009, 02:40 PM
#7
Member
Registered: Dec 2007
Posts: 32
Thanked: 0
Original Poster
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.
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 10:33 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
LQ Podcast
LQ Radio