Skip to content

Abusing security with screen

by Stephen Mann on November 25th, 2009

I hate typing passwords. Today’s fix: because I’m always using screen in the terminal anyway, I can create bindings in .screenrc. For example:

bind q stuff "myCleverPassword^M"

Now I just type CTRL-a q, and my password is typed for me, anywhere in a terminal. Great for ssh.

By the way, The ^M represented a carriage return.

From → tech

One Comment
  1. Isn’t it better idea to use public key authentication with SSH?

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS