Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8959

Networking and servers • Re: ssh connection via CRON

$
0
0
t sounds like you havent specified what to run on the remote machine
so it just spawns a bash prompt on the remote machine, which terminates when stdin EOF's
Maybe OP is looking for the -N (capital N) option to ssh. This allows you to run ssh in a mode setup for just making redirections (-R and -L thingies) without running a remote command or shell.

Statistics: Posted by BigRedMailbox — Tue Dec 10, 2024 4:08 pm



Viewing all articles
Browse latest Browse all 8959

Latest Images

Trending Articles



Latest Images