在Debian上配置SecureCRT端口转发有图形界面和命令行两种方法:
ssh -L local_port:remote_host:remote_port user@ssh_server命令配置本地端口转发,如ssh -L 8080:localhost:80 user@192.168.1.100。ssh -R remote_port:localhost:local_port user@ssh_server命令,需确保远程服务器/etc/ssh/sshd_config中GatewayPorts yes,并重启SSH服务。