cse taggi

Log in

SSH

Using SSH at CSE

SSH is a very useful tool for creating secure connections between computers.

To use it to get a remote shell, just run ssh computername

If logging in as a different user, use ssh username@computername

Problems



BadAtom X Error

Running certain programs (usually TCL programs, e.g. give/sms/tkrestore) over a forwarded X connection may result in an error that looks like this: X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 18 (X_ChangeProperty) Atom id in failed request: 0xef Serial number of failed request: 12 Current serial number in output stream: 15

This is because TCL (at present) requires a "trusted" X connection. Previously all SSH X forwarding was "trusted", but recently it defaults to non-trusted.

To tell SSH to connect and do Trusted X11 Forwarding, you can either use the -Y option to ssh, or add ForwardX11Trusted yes to your ~/.ssh/config file.

More information

A more comprehensive document about using SSH at CSE is kept here.

Tags for this page:

SSH