Ewald Jenisch <(E-Mail Removed)> wrote:
> Hi,
>
> In order to fetch my emails via POP/IMAP I use an ssh-tunnel to a remote
> machine like this:
>
> ssh -L 60000:localhost:143 some.remote.host
>
> This works without problems - however I've got an interactive session on
> the remote host that I don't need anyway.
>
> I've tried with
>
> ssh -L 60000:localhost:143 some.remote.host '(/bin/true &)'
>
> but this doesn't seem to work
>
> Is there any way to establish a ssh-tunnel to a remote-host without
> having an interactive session?
>
> TIA for your help,
> -ewald
>
According to the man page (you did read it, right?) you can use the -N option. You might want to look at the -f option as well.
--
Raymond Wu
|