setting up VNC over SSH tunneling
[murat@murat03 ~]$ ssh -f -N -t -L 5931:localhost:5901 ncdf131.home.net [murat@murat03 ~]$ ps -efl | grep ssh 1 S murat 2392 2314 0 80 0 - 1758 poll_s 13:43 ? 00:00:00 /usr/bin/ssh-agent /bin/sh -c exec -l /bin/bash -c "/usr/bin/startkde" 0 S murat 3275 2636 0 80 0 - 3334 poll_s 13:47 pts/5 00:00:00 wish8.4 /home/murat/products/ssvnc/v1_0_23/lib/ssvnc/util/ssvnc.tcl -ssh 0 S root 8302 3139 0 80 0 - 6683 - 19:47 pts/0 00:00:00 emacs /etc/ssh/sshd_config 5 S root 8962 1 0 80 0 - 1911 - 19:50 ? 00:00:00 /usr/sbin/sshd 0 S murat 9188 2636 0 80 0 - 3331 poll_s 19:56 pts/5 00:00:00 wish8.4 /home/murat/products/ssvnc/v1_0_23/lib/ssvnc/util/ssvnc.tcl -ssh 1 S murat 9598 1 0 80 0 - 1866 poll_s 20:05 ? 00:00:00 ssh -f -N -t -L 5931:localhost:5901 ncdf131.home.net [murat@murat03 ~]$ /home/murat/products/ssvnc/v1_0_23/bin/ssvncviewer -noraiseonbeep -encodings "copyrect tight zrle zlib hextile" localhost:31 Setting: SSVNC_ULTRA_FTP_JAR=/home/murat/products/ssvnc/v1_0_23/bin/../lib/ssvnc/util/ultraftp.jar Proto: RFB 003.008 Connected to RFB server, using protocol version 3.8 Security-Type: 2 (rfbSecTypeVncAuth) Latency: 76.29 ms Performing standard VNC authentication VNC Password: VNC authentication succeeded Desktop name "NCDF131"
murat@murat03 ~]$ ssh -v -f -N -t -L 5901:localhost:5901 ncdf131.home.net OpenSSH_5.2p1, OpenSSL 0.9.8k-fips 25 Mar 2009 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Applying options for * debug1: Connecting to ncdf131.home.net [161.325.333.244] port 22. debug1: Connection established. debug1: identity file /home/murat/.ssh/identity type -1 debug1: identity file /home/murat/.ssh/id_rsa type -1 debug1: identity file /home/murat/.ssh/id_dsa type -1 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.9p1 NCSA_GSSAPI_20040818 KRB5 debug1: match: OpenSSH_3.9p1 NCSA_GSSAPI_20040818 KRB5 pat OpenSSH_3.* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.2 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'ncdf131.home.net' is known and matches the RSA host key. debug1: Found key in /home/murat/.ssh/known_hosts:4 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: external-keyx,gssapi-with-mic,gssapi,keyboard-interactive debug1: Next authentication method: gssapi-with-mic debug1: Delegating credentials debug1: Delegating credentials debug1: Authentication succeeded (gssapi-with-mic). debug1: Local connections to LOCALHOST:5901 forwarded to remote address localhost:5901 debug1: Local forwarding listening on ::1 port 5901. debug1: channel 0: new [port listener] debug1: Local forwarding listening on 127.0.0.1 port 5901. debug1: channel 1: new [port listener] [murat@murat03 ~]$ debug1: Entering interactive session.
|
Login |