ssh(1) -q -W %h:%p myserver
OpenSSH SSH client (remote login program)
-q      Quiet mode.  Causes most warning and diagnostic messages to be suppressed.
-W host:port
        Requests that standard input and output on the client be forwarded to host on port over the secure
        channel.  Implies -N, -T, ExitOnForwardFailure and ClearAllForwardings and works with Protocol
        version 2 only.
ssh connects and logs into the specified hostname (with optional user name).  The user must prove his/her
identity to the remote machine using one of several methods depending on the protocol version used (see

If command is specified, it is executed on the remote host instead of a login shell.
source manpages: ssh