Re: remote shutdown windows from linux
- From: "3c273" <nospam@xxxxxxxxxx>
- Date: Mon, 15 May 2006 16:07:59 -0700
No, just make sure you restart the openssh service after you make your
change. I just tested it from my Slack box and had no problem. You also want
to make sure that the home directory in your passwd file matches the home
folder where you put your ".ssh" folder. (You can tell if it is incorrect
because ssh will give you an error when you login about not finding it.) If
you need to correct it, make sure you restart the server. Make sure you have
your "authenticated_keys2" file in your .ssh folder. I'm off to the golf
course, post back if you don't get it going and I'll get back to you
tomorrow.
Louis
<diffuser78@xxxxxxxxx> wrote in message
news:1147732414.142889.173490@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I followed that step number 4 to change the modes.not
Is there any other setting you have to modify in ssh_config to get it
started ?
Thanks man ,I really appreciate your help
3c273 wrote:
Did you try step 4 from the key_authentication.txt file? I still have
logintried with my slackware box, but from a windows box, I was unable to
theusing public key until I changed the value of "StrictModes" to "no" in
home"sshd.config" file and restart the openssh service. I will try from
Slackware when I get a chance.
Louis
<diffuser78@xxxxxxxxx> wrote in message
news:1147727622.503822.281600@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am doing exactly what is said in the doc and what you said but I ampublic
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
key in a folder called ".ssh" (note the leading dot) inside your
folderfile.folder. You will also need to add your key to the "authorized_keys"
There is a document called "key_authentication.txt" in the docs
usingthat
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
privatethe public and private keys. So I created a pair of public and
whichkeys on my linux box.
I copied the .pub key on the windows box in the $HOME directory
isis C:\Document and Settings\Username.
Then I copied the .pub file in the list of authorized_keys which
thealso 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
thatprocude I did the public/private keys. I want to avoid the step
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
- 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: Why pics are so dark on my computer?
- Next by Date: Re: Tray icons
- Previous by thread: Re: remote shutdown windows from linux
- Next by thread: Re: remote shutdown windows from linux
- Index(es):
Relevant Pages
|