Secure ssh
Username@CygwinHost ~
$ startxwin.bat
This just starts xterm for windows users and something else. For Vista, it's really hassle to do it. Sometimes you need repeat the command many times with error message.Run the following in an X terminal:
Username@CygwinHost ~
$ ssh -Y(or:-X) -l username remote_hostname_or_ip_address
In linux, just run last command within xterm, it will work.Your ssh session should now show you a shell
prompt for your remote machine.You can now launch remote X clients in your
ssh session, for example, firefox &, and even another
xterm& will launch an xterm running on your
remote host that will display on your Cygwin/X screen.Launch other remote clients in the same manner. I recommend
starting the remote clients in the background, by appending
& to the command name, so that you don't have to
open several ssh sessions.
################################################
if got errors like:
"error in locking authority file .Xauthority".
then run:xauth -b quit
This will create a new .Xauthority for the user.
No comments:
Post a Comment