Getting SSH to exit when Forwardings fail
From: Mike Gibson (gibson_at_genetics.utah.edu)
Date: 01/22/04
- Previous message: Atro Tossavainen: "Re: ssh .vs. rsh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: secureshell@securityfocus.com Date: Thu, 22 Jan 2004 08:02:22 -0700
Is there any way to get the ssh client (I'm using OpenSSH_3.4p1) to exit (and
give a failure code if possible) when a port forwarding fails? Wouldn't it
make sense to do this if the -N option is specified? If the forwardings
fail, then what is the point of the connection? I would like to do this in
order to automate a set of port forwarding scripts. I need ssh to keep
trying to create a forwarding until it is successful.
Mike Gibson
gibson@genetics.utah.edu
- Previous message: Atro Tossavainen: "Re: ssh .vs. rsh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|