ssh - Transfering file to remote server behind a gate node with key authentication disabled - and compiling -
i'm working on project requires me run code on remote unix server, not available connect directly (you first have log in "gate" node , server).
what's bad disabled key authentication, each time need ssh it, have type in password twice. it's annoying , wonder what's best way transfer local modifications of source files server, compile , run them without having provide passwords many times.
i have no sudo access of servers (neither "gate", nor target server). ideas on how make whole process more efficient?
edit: martin prikryl provided great answer below, it's suitable windows , i'm on mac :) guess might thing have documented here *nix systems.
you looking ssh tunneling.
winscp sftp client supports one-hop ssh tunneling natively.
see tunnel page on winscp advanced site settings dialog.

i assume after transfer file, need open ssh terminal compile file.
you may able make use of winscp console window step.

alternatively, if need/want use real ssh terminal client, make use of existing ssh tunnel, created winscp, , connect putty (or other ssh client) on it.
in local tunnel port of winscp tunnel page, select fixed port number (instead of default autoselect). in putty enter "localhost" host name , selected port in port.
(i'm author of winscp)
Comments
Post a Comment