Re: ssh timeout ?

From: Igor B (igor_bumshteyn@yahoo.com)
Date: 12/30/02


From: igor_bumshteyn@yahoo.com (Igor B)
Date: 30 Dec 2002 09:03:56 -0800

try portscanssh. it's a little program that checks whether or not port
22 open on the remote machine.
portscanssh -t 5 server

chris@issolutions.co.uk (ChrisC) wrote in message news:<5279ab1.0212260637.1a6a2f8d@posting.google.com>...
> I have compiled ssh on various solaris boxes. I have a processs that
> gets stats from boxes via ssh, however if the remote box is down etc
> or ssh is not running, then when I do ssh <hostname> it hangs forever
> (actually I havent timed it) opposite of other protcols such as ftp
> and telnet, where you get connection closed message quite quickly.
>
> Does anyone know how you put in a timeout threshhold to close the
> connection more quickly ? I am running openssh 3.1 on solaris.
>
> Thanks



Relevant Pages

  • Re: Remote Execution Through FTP
    ... > I need to send some file from my local machine to a remote machine ... > generation mechanism in SSH. ... then you can script this quite easily using public key's to authenticate. ... Make sure the permissions on the .ssh directory and all the files in it are ...
    (comp.unix.admin)
  • Re: Is SSH worth it??
    ... > We would be using SSH and SCP. ... SCP for automated scripts. ... > client will not be prompted for a password. ... remote machine, but imho it is better to swap client+server and give ...
    (Security-Basics)
  • Re: getting ssh to work
    ... > I recently tried to ssh into my desktop from another machine, ... > The remote machine in question is running OpenSSH_3.6.1p2, ... try running ssh and/or sshd in debug mode. ... and then quit when the remote user logs ...
    (freebsd-questions)
  • [Full-Disclosure] SSH/OPENSSH HOLE ALL VERSIONS.
    ... ssh is a program for logging into a remote machine and for ... executing commands on a remote machine. ... I have informed ssh developers about this vulnerability and they have not ...
    (Full-Disclosure)
  • Re: Pcl-cvs 1.66 and CVS over ssh (missing ssh-askpass)
    ... Sean> system at all. ... The problem could be that ssh is trying to prompt for your passphrase but ... failing because pcl-cvs is running cvs (and thus ssh) through a pipe rather ... remote machine without using your remote password. ...
    (comp.emacs.xemacs)