Re: scripted ssh login
- From: René Berber <rberber@xxxxxxxxxxxxxxx>
- Date: Sat, 28 Jul 2007 18:02:20 -0700
On Jul 28, 10:54 am, Florian Schoenbeck wrote:
I need to fetch some data from a Database which can be reached via a ssh-tunneled TCP-port.
Manually, everything works fine. First, the ssh-connection is established and after that, the
data is fetched.
Now I need to run this as a cron job, so I need to establish the ssh-connection by script.
That should work without problems because the login is without password. But how can I shut
down the connection after the data is transfered?
Any ideas?
Use exit, it's just a regular terminal session.
--
René Berber
.
- References:
- scripted ssh login
- From: Florian Schoenbeck
- scripted ssh login
- Prev by Date: Re: scripted ssh login
- Next by Date: Re: scripted ssh login
- Previous by thread: Re: scripted ssh login
- Next by thread: Re: scripted ssh login
- Index(es):