Create a SSH Key Authorization to Install NS Agent on UNIX/Linux
Filed under:
Notification Server
UNIX/Linux
Submitted by Bcomp on 1 August, 2008 - 10:33.
How will you create a SSH Key Authorization in order to push install the UNIX/Linux Notification Server Agent? This tech tip will tell you the method to do so.
- On computer to connect to:
- create /root/.ssh
- chmod 700 .ssh
- On the computer to connect from:
- Run ssh-keygen to generate rsa keys. In this case, there is id_rsa and id_rsa.pub. It is recommended a 2048 bit count.
- scp id_rsa.pub to machine to connect to: scp id_rsa.pub root@myhost:.ssh
- copy id_rsa (the private key) to a secure location (unshared directory) on the Notification Server.
- On computer to connect to:
- cd to /root/.ssh
- cat id_rsa.pub >> authorized_keys
- On Notification Server Console:
- Add ip/hostname of computer to connect to.
- Click Install Settings.
- Select Try to connect via SSH using SSH Key authorization.
- In the SSH Key File box, browse to id_rsa; change the Files of type option from *.sk to *.* to get the file. In other words, you are not using a file generated by the Altiris utility.
- Set password, if needed. I did not have one and I am assuming this is the passphrase used to generate the rsa key.
- Select RSA as the key type.
- Click Apply and close.
- Click the Install Altiris Agent button. The connection should then complete.
Note: The public key should have the format similar to this and that everything is on one line in the actual public key file. Note that it does not include the user@hostname entry at the end of the string.
ssh-rsa ABCDInvalidyc2EAAAABIwAAAQEA0zCBY+0JdlY1UyJ/cmFVeFVURxPbVP6g0obnVSK29+THJZANKKSYv6ueyehXRL77Vy/RgGa84rDfuYQKw2j/GH+xKCbd1lO8YDT7gJbEBtbMiX5jAVrcPVI9a6B6Ype5MGXAtaZaPNguRB4aVfdUuBYHB4RBWnco8KMDtTUuj5LRuAnDqzfbKobxSx3XH5psEWlXxRT9TG/gK/L4h2EFRyM/Z6bQRQJxUNHDJ7L0GV75DSqgQle0wysko+aOgtT9diG3/ZvNVAy0VsWy74LFgHgyestdiFXUI0m0XKoZ+WtVb6fuyJU8vTMJEiVgqlmpqawm76aY0AC7o/eTNOzFVQ00
(21 votes)
- Login or register to post comments
- 1818 reads
- Printer-friendly version















Recent comments
1 hour 18 min ago
1 hour 49 min ago
2 hours 40 min ago
2 hours 49 min ago
3 hours 5 min ago
3 hours 19 min ago
3 hours 59 min ago
5 hours 32 min ago
5 hours 34 min ago
5 hours 35 min ago