- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2010 12:37 PM
01-18-2010 12:37 PM
ssh error
I need to repair ssh function in my server box.
while doing ssh to my server iqm getting error:
ssh_exchange_identification connection closed by remote host
Could you pls help me on this?
unix version is 11.23
many thanks
rgds Sree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2010 12:43 PM
01-18-2010 12:43 PM
Re: ssh error
"Repair" suggests that something was once working. What happened to cause things to stop working?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2010 02:01 PM
01-18-2010 02:01 PM
Re: ssh error
> unix version is 11.23
And "my server" is this "unix" system?
What's the other end? (Actual output from
"uname -a" would tell us more.)
Anything in the system log file?
Can you connect by SSH from "my server" to
itself?
Actual "ssh -v [...]" output?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2010 09:29 PM
01-18-2010 09:29 PM
Re: ssh error
to trouble shoot the issue , run ssh in verbose mode
#ssh -vvv -l
alternatively you may rename known_hosts file under .ssh directory in your local machines's home.
rgds!
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2010 09:57 PM
01-18-2010 09:57 PM
Re: ssh error
cd /sbin/init.d
./secsh start
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2010 10:14 PM
01-18-2010 10:14 PM
Re: ssh error
This could also appear when somoeone played arround with TCP settings. Did you recently modified something on your server/client? Also, check your firewall. Of course, as sugested below, increasing the log verbosity usually helps understanding better what it is really going on. (On the client you must use -vvv as instructed, on the server side you can use LogLevel in the daemon config file -see man page)
Best regards,
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2010 02:46 AM
01-19-2010 02:46 AM
Re: ssh error
Check for the process and restart it if its not there already.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2010 02:50 AM
01-19-2010 02:50 AM
Re: ssh error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2010 07:42 AM
01-19-2010 07:42 AM
Re: ssh error
I have restarted ssh.
/sbin/init.d/secsh stop then started
How can I confirm the ssh is already installed well?
/opt/ssh/etc]#swlist -l product | grep -i ssh
[root@server:/opt/ssh/etc]#
its not giving any info about the installed ssh.
I checked in a working server there also same out pu is getting ie, not giving any result from swlist command
Can u pls guide me on it?
thanks rgds Sree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2010 07:55 AM
01-19-2010 07:55 AM
Re: ssh error
a) "Repair" suggests that something was once working. As James notes, the implication is that this worked at one time. Did it?
b) What are you trying to ssh to? From?
Have you tried running "ssh -vvv" as noted and capture the log output?
Have you tried running a debugging instance of the sshd (possibly on a different port) to capture its log output?
Actual command issued?
As to swlist, if ssh wasn't installed via depot (ie built from source) then it won't show in the swlist.
How are you trying to autheticate? Passwordless (w/ keys)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2010 11:40 PM
01-19-2010 11:40 PM
Re: ssh error
>How can I confirm the ssh is already installed well?
You can try it by using "ssh -V" and in order to find out the location of the installed sshd, use which sshd and ll
Below a sample:
# which sshd
/usr/sbin/sshd
# ll /opt/ssh/sbin/
total 0
lrwxr-xr-x 1 root sys 29 Oct 7 2006 sshd -> /opt/ssh/PA-RISC2.0/sbin/sshd
# ll /usr/sbin/sshd
lrwxr-xr-x 1 root sys 18 Oct 7 2006 /usr/sbin/sshd -> /opt/ssh/sbin/sshd
Best regards,
Horia.
Horia.