문서의 이전 판입니다!
ssh
USAGE
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11] [-i identity_file] [-J [user@]host[:port]] [-L address] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-Q query_option] [-R address] [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]] destination [command] ssh -L PORT1:HOSTNAME:PORT2 user@hostB
ssh [<switches>…] desitination [command]destination: IP/DNS 지정id@destination: 로그인 아이디 지정. (없으면 현재 사용자)
[<switches>…]-L local_port:target_host:target_port: ssh tunneling. local_port로 접속시 target에 ssh 서버를 통하여 접속한다.