Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-23-2005, 12:53 PM
|
#1
|
LQ Newbie
Registered: Sep 2005
Posts: 6
Rep:
|
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!
|
|
|
11-23-2005, 02:14 PM
|
#2
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
What happens when you try to run sshd manually?
|
|
|
11-23-2005, 03:28 PM
|
#3
|
LQ Newbie
Registered: Sep 2005
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
11-24-2005, 05:47 AM
|
#4
|
LQ Newbie
Registered: Sep 2005
Posts: 6
Original Poster
Rep:
|
Ok, tried it and it didn't give any errors, but didn't seem to start running either.
|
|
|
11-24-2005, 08:36 AM
|
#5
|
LQ Newbie
Registered: Sep 2005
Posts: 6
Original Poster
Rep:
|
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!
|
|
|
11-24-2005, 12:18 PM
|
#6
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Moved: This thread is more suitable in Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
|
|
|
All times are GMT -5. The time now is 05:24 AM.
|
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
|
|