LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-23-2005, 12:53 PM   #1
nutcake
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Rep: Reputation: 0
SSH not working after VPN Install


Hello

I've just rebooted a Debian server at work, and when it came back up, ssh didn't work.

I had been playing around trying to set various VPN packages up on this computer about a month ago and it hasn't been rebooted since. I have uninstalled and disabled the startup scripts for all these bits of software and I have now reinstalled ssh with stock config files.

SSH doesn't appear to be running when I do a 'ps aux', and nothing is listening on port 22 (if I do a netstat). I have tried changing to different ports and restarting the service, without success. However, the ssh startup script doesn't give any errors when staring or restarting and everything seems to be where it should.

I am in a bit of a panic here, because I'm leaving this company (and country) tomorrow and may need to provide a bit of remote support.

I would appreciate *any* suggestions!
 
Old 11-23-2005, 02:14 PM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
What happens when you try to run sshd manually?
 
Old 11-23-2005, 03:28 PM   #3
nutcake
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Hmmm, I don't think I tried that. Will do so and get back with the answer tomrrow morning (UK time.)

Thanks for the idea



Last edited by nutcake; 11-23-2005 at 03:30 PM.
 
Old 11-24-2005, 05:47 AM   #4
nutcake
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Ok, tried it and it didn't give any errors, but didn't seem to start running either.
 
Old 11-24-2005, 08:36 AM   #5
nutcake
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Just tried running sshd -D (Didn't read things properly before trying last time) and sshd started fine and is accepting connections!

At least I am not in as much trouble as I thought now.

Does this mean that there is a problem with the init script? How could I replace it? Can I just delete it and the use apt-get to reinstall ssh?

Thanks again, stickman!
 
Old 11-24-2005, 12:18 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Moved: This thread is more suitable in Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
IP forwarding not working on ppp-over-ssh vpn tingdahl Linux - Networking 3 08-27-2004 06:31 PM
VPN Tunnel Through SSH gauge73 Linux - Networking 4 05-16-2004 08:24 PM
Tunneling Inward to A VPN using ssh disinformation Linux - Software 2 12-17-2003 03:45 PM
X apps in ssh and vpn through dhcpd jimjactin Linux - Newbie 2 11-04-2003 11:22 PM
vpn - ipsec <-> ssh-sentinel pk21 Linux - Software 3 04-03-2003 09:05 AM


All times are GMT -5. The time now is 07:35 AM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration