在Ubuntu系统中使用SecureCRT进行端口转发,有图形界面和命令行两种方法:
ssh -L local_port:destination_host:destination_port username@remote_server_ip命令,其中local_port是本地监听端口,destination_host是目标服务器IP或域名,destination_port是目标服务器端口,username是远程服务器用户名,remote_server_ip是远程服务器IP地址,输入密码后按提示操作即可。