ssh命令崩溃。零件是什么?

ssh命令崩溃。零件是什么?,ssh,Ssh,这个ssh命令做什么?具体来说,我对4V感到困惑 ssh -L 65432:db-001-management.qa001:6432user.guy@bastion.some-company.net -N -vvvv 什么是4V?什么是N?user.guy部分是什么?它存储在哪里?我假设-L标志和主机规范之间缺少空格,因此命令调用: ssh -L 65432:db-001-management.qa001:6432 user.guy@bastion.some-company.net -N -v

这个ssh命令做什么?具体来说,我对4V感到困惑

ssh -L 65432:db-001-management.qa001:6432user.guy@bastion.some-company.net -N -vvvv

什么是4V?什么是N?user.guy部分是什么?它存储在哪里?

我假设-L标志和主机规范之间缺少空格,因此命令调用:

ssh -L 65432:db-001-management.qa001:6432 user.guy@bastion.some-company.net -N -vvvv
摘自:

因此,user.guy只存储在内存中用于身份验证

-L local_socket:host:hostport 
Specifies that connections to the given TCP port or Unix socket on the 
local (client) host are to be forwarded to the given host and port, or 
Unix socket, on the remote side.
这将设置端口转发,以便运行客户端的系统上与端口65432的连接被转发到db-001-management.qa001端口6432,服务器可能与该系统具有IP连接

-N 
Do not execute a remote command. This is useful for just forwarding ports.
默认情况下,启动shell,此标志阻止启动

-v
Verbose mode. Causes ssh to print debugging messages about its progress.
This is helpful in debugging connection, authentication, and 
configuration problems. Multiple -v options increase the verbosity. The 
maximum is 3.
你试过文顺吗?
-v
Verbose mode. Causes ssh to print debugging messages about its progress.
This is helpful in debugging connection, authentication, and 
configuration problems. Multiple -v options increase the verbosity. The 
maximum is 3.
-L - forwards your local port over ssh to the remote server.
-N - no shell execution. Just maintain the session to keep the port forwarding alive.
user.guy - this is the user name for ssh login.
V's give you the verbose output of the ssh command. More V's means more verbose but maximum of 3 V's (i.e. -vvv) should be used.