Re: remote shutdown windows from linux
- From: diffuser78@xxxxxxxxx
- Date: 15 May 2006 14:13:42 -0700
I am doing exactly what is said in the doc and what you said but I am
not able to login using the public key.
I was just wondering if you were able to do it using public key.
Every help is greatly appreciated.
Thanks
3c273 wrote:
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: 3c273
- 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
- Re: remote shutdown windows from linux
- From: 3c273
- remote shutdown windows from linux
- Prev by Date: Re: Temp Folder
- Next by Date: Re: Laptop Login Trouble
- Previous by thread: Re: remote shutdown windows from linux
- Next by thread: Re: remote shutdown windows from linux
- Index(es):
Relevant Pages
|