SSH

WebHome | UnixGeekTools | Geekfarm | About This Site

Pointers

ssh forwarding

    ssh -o NoHostAuthenticationForLocalhost=yes -p 8889 -q localhost

proxy

Debugging

running server in debug mode

Forced commands

  command="ssh -l skipper S" ...key..

Weird stuff

X11 forwarding insecurity Overview

a malicous user (with root privilege) can just take a copy of the cookie out of the connected users .Xauthority file, placing this information into their own .Xauthority file and then connecting to the X-server on the SSH client's side.

If xauth is replaced on the server by a malicious program that does both of the following:

With the added data in .Xauthority, a malicious source can fully control the client X session. The malicious source can then do most anything to the X session, from logging keystrokes of the X session, to taking screen captures, to typing in commands to open terminals.

the client is the one accepting risk by forwarding X11, not the server.




Updated Sun Jul 23, 2006 12:13 PM