Recent Changes - Search:

Toyonaka ContactMe help To Do Sell Buy Minoo Lorain Bicycle Lorain High School 1976 New Stuff Vancouver, BC

Classes

Research

OJC info

MASLE References iPod Publications

Media

Design

Computer

Software

Politics

Teaching and Learning

Learning Japanese

Main.Religion

Music

Family

Family?

Friends?

Serendipity

Wiki Thoughts

PmWiki

SSH Hack

If you use unix/linux at home or work, you can ssh to your 1and1 account without having to always remember your username or password.

(You can do this with Windows too, I think, but I don't really know how.)

  • ONLY DO THIS IF ACCESS TO YOUR LOCAL MACHINE AND ACCOUNT IS SECURE. ***

Your 1and1 account will now be only as secure as this machine is, so be careful.

  1. If you haven't already generated an ssh key, do so with "ssh-keygen -t dsa" Then, Just hit enter through the various prompts.

  2. Create a file called ~/.ssh/config with the following two lines:
    Host mydomain.com
    User u98765432
    (replacing these names with any one of your domain names and your ssh user id).

  3. Type
scp .ssh/id_dsa.pub s91158240.onlinehome.us:.ssh/authorized_keys

It will probably ask a yes/no question; answer yes. Then you will have to enter your ssh password for the *last time*!

4. Type

ssh mydomain.com

And it should "just work" -- without asking you anything. Same goes for
scp somefile mydomain.com:

Did it work for you?

K

I got this basically from http://s88567960.onlinehome.us/forums/index.php?showtopic=744, though I changed some things to make it clearer. Thanks to thekiosk for this hint.

Edit - History - Print - Recent Changes - Search
Page last modified on February 12, 2005, at 05:23 AM