Re: remote shutdown windows from linux
- From: "3c273" <nospam@xxxxxxxxxx>
- Date: Mon, 15 May 2006 13:21:04 -0700
I don't use key authentication but I believe you need to store your public
key in a folder called ".ssh" (note the leading dot) inside your home
folder. You will also need to add your key to the "authorized_keys" file.
There is a document called "key_authentication.txt" in the docs folder that
explains it. Hope this helps.
Louis
<diffuser78@xxxxxxxxx> wrote in message
news:1147722299.095611.36870@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I can now logon using password. I wanted to automate the login using
the public and private keys. So I created a pair of public and private
keys on my linux box.
I copied the .pub key on the windows box in the $HOME directory which
is C:\Document and Settings\Username.
Then I copied the .pub file in the list of authorized_keys which is
also located in the $HOME directory which is C:\Document and
Settings\Username.
Now when i login from linux box, it asks me username and password.
After giving password it logs me in. Since I wanted to automate the
procude I did the public/private keys. I want to avoid the step that it
asks me the password.
I want something like
ssh username@IP_ADDR # It will log me in
shutdown -s # shuts the computer down
Every help is appreciated.
Thanks
.
- Follow-Ups:
- Re: remote shutdown windows from linux
- From: diffuser78
- Re: remote shutdown windows from linux
- References:
- remote shutdown windows from linux
- From: diffuser78
- Re: remote shutdown windows from linux
- From: 3c273
- Re: remote shutdown windows from linux
- From: diffuser78
- Re: remote shutdown windows from linux
- From: 3c273
- Re: remote shutdown windows from linux
- From: diffuser78
- Re: remote shutdown windows from linux
- From: 3c273
- Re: remote shutdown windows from linux
- From: diffuser78
- remote shutdown windows from linux
- Prev by Date: Re: Backing up Profiles
- Next by Date: Re: Cann't boot partition F
- Previous by thread: Re: remote shutdown windows from linux
- Next by thread: Re: remote shutdown windows from linux
- Index(es):
Relevant Pages
|