Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 06-12-2006, 06:59 PM   #1 (permalink)
aaronkupen's Avatar
 
Monster Techie

Join Date: Sep 2005

Location: Boston, MA

Posts: 1,791

aaronkupen is on a distinguished road

Send a message via AIM to aaronkupen Send a message via Yahoo to aaronkupen Send a message via Skype™ to aaronkupen
Default Debian SSH

I recently installed SSH onto my debian etch system, but no one is actually able to use it to go on my system.

I have no idea where to start to fix this problem. I'm using kernel 2.6 if that helps.
__________________
Lenovo Thinkpad T60
Intel Core 2 Duo T7200 @ 2.00 Ghz
2 GB DDR-2 memory
ATI Mobility Radeon x1400
60 GB 7200 rpm Hard Drive
Windows Vista Business SP1 32 Bit
aaronkupen is offline  
Old 06-12-2006, 09:08 PM   #2 (permalink)
Qiranworms's Avatar
 
Monster Techie

Join Date: Mar 2003

Posts: 1,637

Qiranworms is on a distinguished road

Default

Is sshd running?

Try
Code:
ps -A | grep sshd
to see if it is. (gotta start with the obvious)
__________________
-->Marc
Error: Keyboard not attached. Please press F1 to continue. <pre>-------OS----------Gentoo Linux-------<br>------Browser-----Mozilla Firefox-----</pre><form action="http://www.srsyo.org/tfsearch.php" method="get"><input type="text" name="search"> <input type="submit" name="submit" value="Search the Forums, thanks to Emily"></form>

|||Official Forum Rules|||<hr>
Qiranworms is offline  
Old 06-13-2006, 12:42 AM   #3 (permalink)
aaronkupen's Avatar
 
Monster Techie

Join Date: Sep 2005

Location: Boston, MA

Posts: 1,791

aaronkupen is on a distinguished road

Send a message via AIM to aaronkupen Send a message via Yahoo to aaronkupen Send a message via Skype™ to aaronkupen
Default

When i enter that I get

"3890 ? 00:00:00 sshd"

I don't know what that means, but I was able to use SSH to access a friend's computer. It just seems like no one can get on mine.
__________________
Lenovo Thinkpad T60
Intel Core 2 Duo T7200 @ 2.00 Ghz
2 GB DDR-2 memory
ATI Mobility Radeon x1400
60 GB 7200 rpm Hard Drive
Windows Vista Business SP1 32 Bit
aaronkupen is offline  
Old 06-13-2006, 12:55 PM   #4 (permalink)
Qiranworms's Avatar
 
Monster Techie

Join Date: Mar 2003

Posts: 1,637

Qiranworms is on a distinguished road

Default

It means the process is running, which is what you want. Okay, that means the problem lies elsewhere. I don't really know too much about this sort of thing, but the next thing I'd try (maybe someone else who knows more about SSH will post) would be to determine whether it's your user/ssh configuration, or a more network-related issue.

Try
Code:
ssh yourusername@127.0.0.1
on the computer that won't let others connect to it. That's your home IP address, so you're SSHing into the computer your on. Pretty useless in general, but this is for testing purposes. Report back whether that works.

Question: Are you using a NAT device (such as a router) of a sorts?
__________________
-->Marc
Error: Keyboard not attached. Please press F1 to continue. <pre>-------OS----------Gentoo Linux-------<br>------Browser-----Mozilla Firefox-----</pre><form action="http://www.srsyo.org/tfsearch.php" method="get"><input type="text" name="search"> <input type="submit" name="submit" value="Search the Forums, thanks to Emily"></form>

|||Official Forum Rules|||<hr>
Qiranworms is offline  
Old 06-13-2006, 03:25 PM   #5 (permalink)
aaronkupen's Avatar
 
Monster Techie

Join Date: Sep 2005

Location: Boston, MA

Posts: 1,791

aaronkupen is on a distinguished road

Send a message via AIM to aaronkupen Send a message via Yahoo to aaronkupen Send a message via Skype™ to aaronkupen
Default

Yah it worked, I'm using a linksys router.
__________________
Lenovo Thinkpad T60
Intel Core 2 Duo T7200 @ 2.00 Ghz
2 GB DDR-2 memory
ATI Mobility Radeon x1400
60 GB 7200 rpm Hard Drive
Windows Vista Business SP1 32 Bit
aaronkupen is offline  
Old 06-13-2006, 03:41 PM   #6 (permalink)
Qiranworms's Avatar
 
Monster Techie

Join Date: Mar 2003

Posts: 1,637

Qiranworms is on a distinguished road

Default

Okay. I'm guessing you haven't set up your router for this then. You need to set up port forwarding.

I can't give you specific instructions, since I don't have a Linksys router, but go into the configuration page, you should be able to figure out where everything is.

SSH generally uses port 22. Protocol is TCP. Use your internal network (192.168.x.x) IP address of the computer running SSH. Be sure to give the people who need to connect to your computer via SSH your external IP address.

edit: http://www.portforward.com/ if setting up port forwarding for your specific router turns out not-so-obvious. Chances are your router will be on their list.

edit 2: Just looked through that site. Excellent. All you have to do is go to the list of routers, click your router model #, click SSH, and it'll go through the steps. Just follow those.
__________________
-->Marc
Error: Keyboard not attached. Please press F1 to continue. <pre>-------OS----------Gentoo Linux-------<br>------Browser-----Mozilla Firefox-----</pre><form action="http://www.srsyo.org/tfsearch.php" method="get"><input type="text" name="search"> <input type="submit" name="submit" value="Search the Forums, thanks to Emily"></form>

|||Official Forum Rules|||<hr>
Qiranworms is offline  
Old 06-13-2006, 09:33 PM   #7 (permalink)
aaronkupen's Avatar
 
Monster Techie

Join Date: Sep 2005

Location: Boston, MA

Posts: 1,791

aaronkupen is on a distinguished road

Send a message via AIM to aaronkupen Send a message via Yahoo to aaronkupen Send a message via Skype™ to aaronkupen
Default

Arg, I did that. That's how it has been, but still no one can get on my computer.
__________________
Lenovo Thinkpad T60
Intel Core 2 Duo T7200 @ 2.00 Ghz
2 GB DDR-2 memory
ATI Mobility Radeon x1400
60 GB 7200 rpm Hard Drive
Windows Vista Business SP1 32 Bit
aaronkupen is offline  
Old 06-13-2006, 10:03 PM   #8 (permalink)
Qiranworms's Avatar
 
Monster Techie

Join Date: Mar 2003

Posts: 1,637

Qiranworms is on a distinguished road

Default

At this point I'm really not sure what Debian does with the various configuration files I'd check now to troubleshoot; I'm a Gentoo user.

See if any Debian people can respond. Sorry.


You *could* also try reinstalling sshd (presumedly with apt-get)...
__________________
-->Marc
Error: Keyboard not attached. Please press F1 to continue. <pre>-------OS----------Gentoo Linux-------<br>------Browser-----Mozilla Firefox-----</pre><form action="http://www.srsyo.org/tfsearch.php" method="get"><input type="text" name="search"> <input type="submit" name="submit" value="Search the Forums, thanks to Emily"></form>

|||Official Forum Rules|||<hr>
Qiranworms is offline  
Old 06-13-2006, 10:09 PM   #9 (permalink)
macdude425's Avatar
 
Member (again)

Join Date: Jan 2005

Location: Raul's Wild Kingdom...How 'bout that, huh?

Posts: 4,200

macdude425 is on a distinguished road

Send a message via AIM to macdude425 Send a message via Yahoo to macdude425
Default

By default, SSHD listens on port 22 on Debian, and it is kept open by iptables. It has been this way as long as I can remember.

That means that there is either a router problem, or if it is hooked up to a cable or DSL modem (which I think yours is) then that could also be blocking incoming traffic on port 22.
__________________



Debian Support Forums!
macdude425 is offline  
 
Closed Thread

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On