|
Post by gideon007 on Feb 15, 2010 0:27:08 GMT 7
Hi, I'm using the shutdown/reboot mudule for some time now and it is working fine. Now I'm trying to make this into a script on my Mac and am running into the problem that I can't really pass the password allong with the ssh command on the mac. This is doable with an awkward script that depends on delays and such and sometimes fails, especailly when the N5200 was sleeping...
So, on the net the solution for this is normally to use the generated ssh-keys to verify the user instead of the password. I know how to generate the ssh-key but how do I go on using this key with the n5200? I'd need to log on with the SYS user and then do something with the key for both the shutdown and reboot user. What is it I have to do?
|
|
|
Post by gideon007 on Feb 17, 2010 4:45:03 GMT 7
solved it in another way, installed putty on my Mac machine and thus am able to send the password directly per command line... Made a nice apple script and will give that in an extra post
|
|