LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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


Reply
  Search this Thread
Old 01-12-2009, 10:48 AM   #1
mkenyon2
Member
 
Registered: Dec 2007
Posts: 32

Rep: Reputation: 15
Question 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.
 
Old 01-12-2009, 12:11 PM   #2
amnesiavivace
LQ Newbie
 
Registered: Sep 2008
Location: Ohio
Distribution: suse, redhat, ubuntu, fedora
Posts: 17

Rep: Reputation: 0
Did you make sure the firewall is open to your SSH port?
 
Old 01-12-2009, 01:08 PM   #3
mkenyon2
Member
 
Registered: Dec 2007
Posts: 32

Original Poster
Rep: Reputation: 15
This would be in my home network, not from outside.
 
Old 01-12-2009, 02:18 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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 ?
 
Old 01-14-2009, 08:24 PM   #5
mkenyon2
Member
 
Registered: Dec 2007
Posts: 32

Original Poster
Rep: Reputation: 15
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
 
Old 01-15-2009, 09:25 AM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
nothing looks obviously out of place in your system configuration...
 
Old 01-15-2009, 01:40 PM   #7
mkenyon2
Member
 
Registered: Dec 2007
Posts: 32

Original Poster
Rep: Reputation: 15
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.
 
  


Reply

Tags
dsl, putty



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 11:29 AM
Loaded DSL - unable to boot DSL, only win98 freykatt Linux - Newbie 3 04-10-2007 09:00 PM
D-Link DSL-200 Rev B DSL modem -- success!! ludeKing Linux - Hardware 1 03-11-2007 06:32 PM
installing Cups in DSL and using DSL to share a network printer fakie_flip DamnSmallLinux 0 09-13-2006 09:20 PM
Dsl Modem Installation -- Aztech Dsl Turbo 100 psganesh Linux - Networking 0 07-01-2004 02:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:27 AM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration