000011851 - How to enable SSH via the command line on RSA Authentication Manager 8.x

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support on Feb 21, 2018
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000011851
Applies ToRSA Product Set: SecurID
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.x
IssueThis article provides commands to enable SSH to the Authentication Manager server/RSA SecurID appliance via command line.
ResolutionPrior to enabling SSH, you first must logon to the appliance console using a directly connected monitor and a USB keyboard or VMware console.  Commands are as follows:

login as: rsaadmin
Using keyboard-interactive authentication.
Password: <enter password created during Quick Setup>
Last login: Mon Feb 12 15:51:57 2018 from jumphost.vcloud.local
RSA Authentication Manager Installation Directory: /opt/rsa/am
rsaadmin@am82p:~> sudo su - root
rsaadmin's password: <enter password created during Quick Setup>
am82p:~ #



To enable SSH to the server




am82p:~ #chkconfig -f --add sshd
sshd             0:off  1:off  2:off  3:on  4:off  5:on  6:off
am82p:~ # /etc/init.d/sshd start
Checking for missing server keys in /etc/ssh
Starting SSH daemon                                       done
am82p:~ # iptables -A sshd -i eth0 -p tcp --dport 22 -j ACCEPT
am82p:~ #



To disable SSH to the server




am82p:~ #chkconfig -f --del sshd
sshd             0:off  1:off  2:off  3:off  4:off  5:off  6:off
am82p:~ # /etc/init.d/sshd stop
Shutting  the listening SSH daemon                       done
am82p:~ # iptables -D sshd -i eth0 -p tcp --dport 22 -j ACCEPT
am82p:~ #
NotesTo check if the sshd service is running, type the command below:

am82p:~ # netstat -atup | grep sshd
tcp        0      0 *:ssh                   *:*                     LISTEN      29516/sshd
tcp        0     64 am82p.vcloud.local:ssh  jumphost.vcloud.l:39030 ESTABLISHED 29070/sshd: rsaadmi
tcp        0      0 *:ssh                   *:*                     LISTEN      29516/sshd
am82p:~ #
Legacy Article IDa63883

Attachments

    Outcomes