LinuxQuestions.org
Social Bookmarking all things Linux and Open Source
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
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

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 01-12-2009, 11:48 AM   #1
mkenyon2
Member
 
Registered: Dec 2007
Posts: 32
Thanked: 0
Question 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.
mkenyon2 is offline  
Tag This Post ,
Reply With Quote
Old 01-12-2009, 01:11 PM   #2
amnesiavivace
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?
amnesiavivace is offline     Reply With Quote
Old 01-12-2009, 02:08 PM   #3
mkenyon2
Member
 
Registered: Dec 2007
Posts: 32
Thanked: 0

Original Poster
This would be in my home network, not from outside.
mkenyon2 is offline     Reply With Quote
Old 01-12-2009, 03:18 PM   #4
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: Debian Lenny / Squeeze / Sid
Posts: 7,213
Blog Entries: 5
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 ?
farslayer is offline     Reply With Quote
Old 01-14-2009, 09:24 PM   #5
mkenyon2
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
mkenyon2 is offline     Reply With Quote
Old 01-15-2009, 10:25 AM   #6
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: Debian Lenny / Squeeze / Sid
Posts: 7,213
Blog Entries: 5
Thanked: 246
nothing looks obviously out of place in your system configuration...
farslayer is offline     Reply With Quote
Old 01-15-2009, 02:40 PM   #7
mkenyon2
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.
mkenyon2 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB drive works on DSL, not DSL-N. DSL-N has kernel 2.6.12 mkenyon2 Linux - Hardware 1 08-07-2008 12:29 PM
Loaded DSL - unable to boot DSL, only win98 freykatt Linux - Newbie 3 04-10-2007 10:00 PM
D-Link DSL-200 Rev B DSL modem -- success!! ludeKing Linux - Hardware 1 03-11-2007 07:32 PM
installing Cups in DSL and using DSL to share a network printer fakie_flip DamnSmallLinux 0 09-13-2006 10:20 PM
Dsl Modem Installation -- Aztech Dsl Turbo 100 psganesh Linux - Networking 0 07-01-2004 03:04 AM


All times are GMT -5. The time now is 10:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration