LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2008, 01:21 AM   #1
bartalamu
LQ Newbie
 
Registered: Mar 2008
Posts: 22

Rep: Reputation: 15
Are there any cases to run sshd at remote host?


The situatin is:
I installed the secure kit which disable telnet and rsh. Login to host is possible with ssh, but sshd is down. Are there some cases how i can remotely reboot hosts or make the sshd up?
 
Old 09-29-2008, 01:39 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
Do you have any other administrative interface to the remote computer. I not, then no. Someone onsite will need to restart it or log in an start up sshd. Did you have it running before disabling the others?

Do you know for a fact the ssn is down? It could be that root access is denied and you can try logging in as a normal user. Another possibility is that the port is closed by the firewall.

Try "telnet <hostname> 22". Do you get a message such as
telnet: connect to address 192.168.1.100: Connection refused
Or is it like:
telnet qosmio 22
Trying 192.168.1.100...
Connected to qosmio.
Escape character is '^]'.
SSH-2.0-OpenSSH_5.0
^C^C
Connection closed by foreign host.
If the later, then sshd is running. If the former, either the service isn't running or the firewall is blocking the port, and you need to fix it on site.

In the future, it is a good idea to have a ssh session set up in one shell while you work in another or via another kind of interface. Test you connect on the second, and if you are locked out, the first is there to undo what you did, or start a service, etc.

Last edited by jschiwal; 09-29-2008 at 01:46 AM.
 
Old 09-29-2008, 02:42 AM   #3
bartalamu
LQ Newbie
 
Registered: Mar 2008
Posts: 22

Original Poster
Rep: Reputation: 15
Thx for ideas, I know that now it is only possible on site...As you describe i had anoter opened session, but anywhere i kill sshd by myself, and ofcourse it refuse to do ssh (and telnet/rsh is blocked by Secure kit)....So i have to go to site (((. I just try to know maybe we have another posibilities....
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
sshd host allow/deny doesn't work Torquemalex Linux - Security 2 08-25-2008 04:23 PM
nis user login failure from remote host (ssh,sshd) freeindy Linux - Networking 1 01-18-2008 07:16 AM
nis user login failure from remote host (ssh,sshd) freeindy Linux - Security 1 01-17-2008 04:21 PM
Resolving <www.some remote host>.... failed: Host not found. koodoo Linux - Newbie 2 06-27-2005 09:48 AM
sshd - host key jamna17 *BSD 3 06-16-2004 09:20 AM


All times are GMT -5. The time now is 06:00 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration