diff options
Diffstat (limited to 'src/connection')
-rw-r--r-- | src/connection/ssh.lisp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/connection/ssh.lisp b/src/connection/ssh.lisp index e885ba9..eb132f3 100644 --- a/src/connection/ssh.lisp +++ b/src/connection/ssh.lisp @@ -24,8 +24,9 @@ user) (declare (ignore remaining)) (informat 1 "~&Establishing SSH connection to ~A" hop) - (mrun "ssh" "-fN" hop) - (make-instance 'ssh-connection :hostname hop :user user)) + (let ((connection (make-instance 'ssh-connection :hostname hop :user user))) + (mrun "ssh" (ssh-host connection) ":") + connection)) (defclass ssh-connection (shell-wrap-connection) ((hostname |