{"id":802,"date":"2008-09-09T12:02:45","date_gmt":"2008-09-09T16:02:45","guid":{"rendered":"http:\/\/onlineappsdba.com\/index.php\/2008\/09\/09\/how-to-set-up-ssh-for-no-password-on-sunos\/"},"modified":"2008-09-09T14:19:54","modified_gmt":"2008-09-09T18:19:54","slug":"how-to-set-up-ssh-for-no-password-on-sunos","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/09\/how-to-set-up-ssh-for-no-password-on-sunos\/","title":{"rendered":"How to set up SSH for No Password on SunOS"},"content":{"rendered":"<p>This setup will allow you to <strong>log in to another account without having to provide the password<\/strong>.<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0 Identify the Sun Server\u2019s and its user id\u2019s among which you wish to enable secure session without passwords. The below steps <strong>concentrates on SSH2<\/strong>, the second version of SSH. <font color=\"#ff0000\">Don&#8217;t use the first version any longer; it contains security bugs<\/font>. Also, older versions of the second version&#8217;s SSH\u00a0might contain security bugs.<\/p>\n<p>Check with <strong>ssh -V<\/strong> that your version matches the latest one available from OpenSSH.<\/p>\n<p>root@ffus # <strong>ssh -V<\/strong><br \/>\nSun_SSH_1.1, SSH protocols 1.5\/2.0, OpenSSL 0x0090704f<\/p>\n<p>If you can&#8217;t find any of the SSH commands (ssh and scp, for instance) on your system, get the SSH package first and install it. This suite should also install the <strong>ssh-keygen<\/strong> command on your machine. Make sure that SSH is installed on every system that you want to access.<br \/>\nStarting from the Solaris 9 OS, SSH is included in the distribution. If you can&#8217;t find a package suitable for your version, refer to the OpenSSH web site for the source, and then download, unpack, read the README, compile, and install. Systems missing OpenSSL have to add that package as well for SSH to work.<br \/>\nTest, for example, <strong>ssh localserver<\/strong>; this will create a <strong>.ssh<\/strong> subdirectory in your $HOME directory. SSH among UNIX users residing on the same Server.<\/p>\n<p><strong><u>Assumptions<\/u><\/strong>:<br \/>\nUNIX Server: ffus<br \/>\nUser 1: root<br \/>\nUser 2: oraffus<br \/>\nUser 3: appffus<\/p>\n<p><strong><u>Requirement<\/u><\/strong>: You want to provide secure shell session between <strong>User 1<\/strong> &amp; <strong>User 2<\/strong> and <strong>User 1<\/strong> and <strong>User 3<\/strong> with no passwords.<\/p>\n<p>This means that <strong>User 1<\/strong> <strong>root<\/strong> can execute commands, shell scripts in <strong>User 2 oraffus<\/strong> shell and <strong>User3 appffus<\/strong> shell without providing passwords.<\/p>\n<p><strong>Create personal SSH key in User 1<br \/>\n<\/strong>If this is first time you are creating SSH key then its possible that User 1 does not have \u201c<strong>.ssh<\/strong>\u201d directory in its home directory. If the \u201c.ssh\u201d directory exists then possibly the SSH key has been generated. Check the directory for the key. Alternatively you can <strong>re-create the key<\/strong> as follows.<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n<font face=\"Times New Roman\"><a href=\"mailto:root@ffus\">root@ffus<\/a> # hostname<\/font><br \/>\n<font face=\"Times New Roman\">ffus<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus # id<\/font><br \/>\n<font face=\"Times New Roman\">luid=0(root) gid=0(root)<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus # <strong>ssh-keygen -t dsa<\/strong><\/font><br \/>\n<font face=\"Times New Roman\">Generating public\/private dsa key pair.<\/font><br \/>\n<font face=\"Times New Roman\">Enter file in which to save the key (\/\/.ssh\/id_dsa):<\/font><br \/>\n<font face=\"Times New Roman\">Created directory &#8216;\/\/.ssh&#8217;.<\/font><br \/>\n<font face=\"Times New Roman\">Enter passphrase (empty for no passphrase):<\/font><br \/>\n<font face=\"Times New Roman\">Enter same passphrase again:<\/font><br \/>\n<font face=\"Times New Roman\">Your identification has been saved in \/ \/.ssh\/id_dsa.<\/font><br \/>\n<font face=\"Times New Roman\">Your public key has been saved in \/t\/.ssh\/id_dsa.pub.<\/font><br \/>\n<font face=\"Times New Roman\">The key fingerprint is:<\/font><br \/>\n<font face=\"Times New Roman\">7f:95:e0:76:3b:77:80:6a:d0:9a:3c:eb:d2:b2:32:a8<br \/>\n<a href=\"mailto:root@ffus\">root@ffus<\/a><br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n<\/font><br \/>\n<font face=\"Times New Roman\">This creates <strong>id_dsa<\/strong> and <strong>id_dsa.pub<\/strong> in <strong>$HOME\/.ssh<\/strong>. If you want to enable remote connections that don&#8217;t require a password, do not enter a passphrase. If you do enter a non-empty passphrase, when connecting to the remote server you will be asked for the passphrase instead of the password!<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus # cd \/.ssh<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus # pwd<\/font><br \/>\n<font face=\"Times New Roman\">\/.ssh<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus #<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus # ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 14<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 root root 668 Sep 19 14:18 id_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 600 Sep 19 14:18 id_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 670 Sep 21 11:42 known_hosts<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus #<\/font><font face=\"Times New Roman\"><br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\n<\/font><br \/>\n<font face=\"Times New Roman\">Rename the key generated ida_dsa.pub to reflect the uniquely the key of user id on that server. i.e., <strong>rename id_dsa.pub to root_ffus_dsa.pub<\/strong>.<br \/>\n<\/font><br \/>\n<font face=\"Times New Roman\"><strong>Append the public key to the file authorized_keys2<\/strong>:<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus # cat root_ffus_dsa.pub &gt;&gt;authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">Don&#8217;t worry if authorized_keys2 does not yet exist before you execute this command.<\/font><br \/>\n<font face=\"Times New Roman\"><br \/>\nroot@ffus # ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 14<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 root root 668 Sep 19 14:18 id_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 600 Sep 19 14:18 root_ffus_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 1808 Sep 19 15:21 authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 670 Sep 21 11:42 known_hosts<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus #<\/font><br \/>\n<font face=\"Times New Roman\"><br \/>\n<strong>Create personal SSH key in User 2<\/strong><\/font><br \/>\n<font face=\"Times New Roman\">As done for User 1 carry out the same steps for User 2.<\/font><br \/>\n<font face=\"Times New Roman\">$ hostname<\/font><br \/>\n<font face=\"Times New Roman\">ffus<\/font><br \/>\n<font face=\"Times New Roman\">$ id<\/font><br \/>\n<font face=\"Times New Roman\">uid=100(oraffus) gid=101(dba)<\/font><br \/>\n<font face=\"Times New Roman\">$ pwd<\/font><br \/>\n<font face=\"Times New Roman\">\/home\/oraffus<\/font><br \/>\n<font face=\"Times New Roman\">$ ssh-keygen -t dsa<\/font><br \/>\n<font face=\"Times New Roman\">Generating public\/private dsa key pair.<\/font><br \/>\n<font face=\"Times New Roman\">Enter file in which to save the key (\/home\/oraffus\/.ssh\/id_dsa): \/home\/oraffus\/.ssh\/oraffus_ffus _dsa<\/font><br \/>\n<font face=\"Times New Roman\">Enter passphrase (empty for no passphrase):<\/font><br \/>\n<font face=\"Times New Roman\">Enter same passphrase again:<\/font><br \/>\n<font face=\"Times New Roman\">Your identification has been saved in \/home\/oraffus\/.ssh\/oraffus_ffus_dsa.<\/font><br \/>\n<font face=\"Times New Roman\">Your public key has been saved in \/home\/oraffus\/.ssh\/oraffus_ffus_dsa.pub.<\/font><br \/>\n<font face=\"Times New Roman\">The key fingerprint is:<\/font><br \/>\n<font face=\"Times New Roman\">15:05:69:cd:3e:6e:bc:9d:ba:6d:a7:15:0c:9f:ab:4d oraffus@ffus<\/font><br \/>\n<font face=\"Times New Roman\">$ cd .ssh<\/font><br \/>\n<font face=\"Times New Roman\">$ ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 6<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oraffus dba 222 Aug 29 16:43 known_hosts<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 oraffus dba 668 Sep 21 14:34 oraffus_ffus_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oraffus dba 604 Sep 21 14:34 oraffus_ffus_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">$ cat oraffus_ffus_dsa.pub &gt;&gt;authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">$ ls -lrt<\/font><font face=\"Times New Roman\">total 8<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oraffus dba 222 Aug 29 16:43 known_hosts<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 oraffus dba 668 Sep 21 14:34 oraffus_ffus_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oraffus dba 604 Sep 21 14:34 oraffus_ffus_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oraffus dba 604 Sep 21 14:35 authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">$<\/font><br \/>\n<font face=\"Times New Roman\">\u00a0<\/font><\/p>\n<p><font face=\"Times New Roman\">.<\/font><\/p>\n<p><strong><font face=\"Times New Roman\">Create personal SSH key in User 3.<\/font><br \/>\n<\/strong><font face=\"Times New Roman\">As done for User 1 and 2 carry out the same steps for User 3.<\/font><br \/>\n<font face=\"Times New Roman\">$ hostname<\/font><br \/>\n<font face=\"Times New Roman\">ffus<\/font><br \/>\n<font face=\"Times New Roman\">$ id<\/font><br \/>\n<font face=\"Times New Roman\">uid=102(appffus) gid=101(dba)<\/font><br \/>\n<font face=\"Times New Roman\">$ pwd<\/font><br \/>\n<font face=\"Times New Roman\">\/home\/appffus<\/font><br \/>\n<font face=\"Times New Roman\">$ ssh-keygen -t dsa<\/font><br \/>\n<font face=\"Times New Roman\">Generating public\/private dsa key pair.<\/font><br \/>\n<font face=\"Times New Roman\">Enter file in which to save the key (\/home\/appffus\/.ssh\/id_dsa): \/home\/appffus\/.ssh\/appffus_ffus_dsa<\/font><br \/>\n<font face=\"Times New Roman\">Created directory &#8216;\/home\/appffus\/.ssh&#8217;.<\/font><br \/>\n<font face=\"Times New Roman\">Enter passphrase (empty for no passphrase):<\/font><br \/>\n<font face=\"Times New Roman\">Enter same passphrase again:<\/font><br \/>\n<font face=\"Times New Roman\">Your identification has been saved in \/home\/appffus\/.ssh\/appffus_ffus_dsa.<\/font><br \/>\n<font face=\"Times New Roman\">Your public key has been saved in \/home\/appffus\/.ssh\/appffus_ffus_dsa.pub.<\/font><br \/>\n<font face=\"Times New Roman\">The key fingerprint is:<\/font><br \/>\n<font face=\"Times New Roman\">98:bc:68:49:7b:e2:05:5d:f9:ed:09:35:5d:4e:d3:ea appffus@ffus<\/font><br \/>\n<font face=\"Times New Roman\">$ cd .ssh<\/font><br \/>\n<font face=\"Times New Roman\">$ pwd<\/font><br \/>\n<font face=\"Times New Roman\">\/home\/appffus\/.ssh<\/font><br \/>\n<font face=\"Times New Roman\">$ ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 4<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 appffus dba 668 Sep 21 14:38 appffus_ffus_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 appffus dba 604 Sep 21 14:38 appffus_ffus_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">$ cat appffus_ffus_dsa.pub &gt;&gt;authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">$ ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 6<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 appffus dba 668 Sep 21 14:38 appffus_ffus_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 appffus dba 604 Sep 21 14:38 appffus_ffus_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 appffus dba 604 Sep 21 14:38 authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">$<\/font><br \/>\n<font face=\"Times New Roman\">\u00a0<\/font><\/p>\n<p><font face=\"Times New Roman\">Now you should already be able to make a secure connection to your own machine, using this account, without having to provide a password. <\/font><br \/>\n<font face=\"Times New Roman\"><br \/>\nCheck permissions on your keys and refer to the man page. The <strong>id_dsa file should be private<\/strong>, the other keys world readable. <\/font><\/p>\n<p><font face=\"Times New Roman\">.\u00a0<\/font><\/p>\n<p><font face=\"Times New Roman\">On the remote server, generate keys in the same way for your account on that server. <\/font><br \/>\n<font face=\"Times New Roman\">Copy your public key into ~\/.ssh\/ on the remote server. <\/font><br \/>\n<font face=\"Times New Roman\">root@ffus # hostname<\/font><br \/>\n<font face=\"Times New Roman\">iffus<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus # id<\/font><br \/>\n<font face=\"Times New Roman\">uid=0(root) gid=0(root)<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus #<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus # <strong>cp \/home\/appffus\/.ssh\/appffus_ffus_dsa.pub .<\/strong><\/font><br \/>\n<font face=\"Times New Roman\">root@ffus # <strong>cp \/home\/oraffus\/.ssh\/oraffus_ffus_dsa.pub .<\/strong><\/font><br \/>\n<font face=\"Times New Roman\">root@ffus # ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 18<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 root root 668 Sep 19 14:18 id_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 600 Sep 19 14:18 root_ffus_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 1808 Sep 19 15:21 authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 670 Sep 21 11:42 known_hosts<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 604 Sep 21 14:43 appffus_ffus_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 604 Sep 21 14:44 oraffus_ffus_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus #<\/font><br \/>\n<font face=\"Times New Roman\">Do the same thing for the remote key; copy it into your local ~\/.ssh directory:<br \/>\n<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus # <strong>scp root_ffus_dsa.pub oraffus@ffus:\/home\/oraffus\/.ssh<\/strong><\/font><br \/>\n<font face=\"Times New Roman\">Password:<\/font><br \/>\n<font face=\"Times New Roman\">root_ffus_dsa.pub 100% |***************************************************| 600 00:00<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus # scp root_ffus_dsa.pub appffus@ffus:\/home\/appffus\/.ssh<\/font><br \/>\n<font face=\"Times New Roman\">Password:<\/font><br \/>\n<font face=\"Times New Roman\">root_ffus_dsa.pub 100% |***************************************************| 600 00:00<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus #<\/font><br \/>\n<font face=\"Times New Roman\">On both servers, append the key from the other server to the file authorized_keys2:<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus # cat appffus_ffus_dsa.pub &gt;&gt;authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus # cat oraffus_ffus_dsa.pub &gt;&gt;authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus # ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 20<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 root root 668 Sep 19 14:18 id_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 600 Sep 19 14:18 root_ffus_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 670 Sep 21 11:42 known_hosts<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 604 Sep 21 14:43 appffus_ffus_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 604 Sep 21 14:44 oraffus_ffus_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 3016 Sep 21 14:53 authorized_keys2<\/font><\/p>\n<p><font face=\"Times New Roman\">$ cat root_ffus_dsa.pub &gt;&gt;authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">$ ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 12<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 oraffus dba 668 Sep 21 14:34 oraffus_ffus_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oraffus dba 604 Sep 21 14:34 oraffus_ffus_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oraffus dba 450 Sep 21 14:48 known_hosts<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oraffus dba 600 Sep 21 14:51 root_ffus_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oraffus dba 1204 Sep 21 14:54 authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">$<\/font><\/p>\n<p><font face=\"Times New Roman\">$ ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 10<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 appffus dba 668 Sep 21 14:38 appffus_ffus_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 appffus dba 604 Sep 21 14:38 appffus_ffus_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 appffus dba 600 Sep 21 14:51 root_ffus_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 appffus dba 1204 Sep 21 14:54 authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">$<\/font><br \/>\n<font face=\"Times New Roman\"><strong>Try to connect to the remote server now<\/strong>:<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus # <strong>ssh oraffus@ffus &#8220;ls -la&#8221;<\/strong><\/font><br \/>\n<font face=\"Times New Roman\">total 46<\/font><br \/>\n<font face=\"Times New Roman\">drwxr-xr-x 6 oraffus dba 512 Sep 19 11:56 .<\/font><br \/>\n<font face=\"Times New Roman\">drwxr-xr-x 4 root root 512 Jul 3 10:03 ..<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 oraffus dba 42 Sep 15 11:04 .bash_history<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oraffus dba 56 Aug 4 16:24 .profile<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 oraffus dba 8748 Sep 21 14:54 .sh_history<\/font><br \/>\n<font face=\"Times New Roman\">drwx&#8212;&#8212; 2 oraffus dba 512 Sep 21 14:51 .ssh<\/font><br \/>\n<font face=\"Times New Roman\">drwx&#8212;&#8212; 3 oraffus dba 512 Aug 29 16:43 .sunw<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oraffus dba 66 Aug 11 12:33 afiedt.buf<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oraffus dba 42 Jul 31 15:09 ffus.ffpl<\/font><br \/>\n<font face=\"Times New Roman\">-rwxr-xr-x 1 oraffus dba 1060 Sep 21 13:55 startDB_FFUS<\/font><br \/>\n<font face=\"Times New Roman\">-rwxr-xr-x 1 oraffus dba 1310 Sep 21 13:56 stopDB_FFUS<\/font><br \/>\n<font face=\"Times New Roman\">drwxr-xr-x 2 oraffus dba 512 Jul 31 15:09 testbkp<\/font><br \/>\n<font face=\"Times New Roman\">drwxr-xr-x 2 oraffus dba 512 Sep 19 11:57 work<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus #<\/font><\/p>\n<p><font face=\"Times New Roman\">root@ffus # <strong>ssh appffus@ffus &#8220;ls -la&#8221;<\/strong><\/font><br \/>\n<font face=\"Times New Roman\">total 1216<\/font><br \/>\n<font face=\"Times New Roman\">drwxr-xr-x 4 appffus dba 512 Sep 21 14:38 .<\/font><br \/>\n<font face=\"Times New Roman\">drwxr-xr-x 4 root root 512 Jul 3 10:03 ..<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 appffus dba 72 Sep 15 11:11 .bash_history<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 appffus dba 99 Sep 21 09:51 .profile<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 appffus dba 83418 Sep 21 10:10 .sh_history<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 appffus dba 570 Jul 17 13:47 t1<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 appffus dba 465 Aug 23 14:47 t2<\/font><br \/>\n<font face=\"Times New Roman\">drwxr-xr-x 2 appffus dba 512 Jul 7 13:01 work<\/font><br \/>\n<font face=\"Times New Roman\">root@ffus #<\/font><\/p>\n<p><font face=\"Times New Roman\">.<\/font><br \/>\n<strong><font face=\"Times New Roman\">Server1: ukdba.com<\/font><\/strong><br \/>\n<strong><font face=\"Times New Roman\">Server2: inddba.com<\/font><\/strong><br \/>\n<font face=\"Times New Roman\">root@ukdba.com # hostname<\/font><br \/>\n<font face=\"Times New Roman\">ukdba.com<\/font><br \/>\n<font face=\"Times New Roman\">root@ukdba.com # id<\/font><br \/>\n<font face=\"Times New Roman\">uid=0(root) gid=0(root)<\/font><br \/>\n<font face=\"Times New Roman\">root@ukdba.com # pwd<\/font><br \/>\n<font face=\"Times New Roman\">\/<\/font><br \/>\n<font face=\"Times New Roman\">root@ukdba.com # <strong>ssh-keygen -t dsa<\/strong><\/font><br \/>\n<font face=\"Times New Roman\">Generating public\/private dsa key pair.<\/font><br \/>\n<font face=\"Times New Roman\">Enter file in which to save the key (\/\/.ssh\/id_dsa): \/\/.ssh\/root_ukdba.com_dsa<\/font><br \/>\n<font face=\"Times New Roman\">Created directory &#8216;\/\/.ssh&#8217;.<\/font><br \/>\n<font face=\"Times New Roman\">Enter passphrase (empty for no passphrase):<\/font><br \/>\n<font face=\"Times New Roman\">Enter same passphrase again:<\/font><br \/>\n<font face=\"Times New Roman\">Your identification has been saved in \/\/.ssh\/root_ukdba.com_dsa.<\/font><br \/>\n<font face=\"Times New Roman\">Your public key has been saved in \/\/.ssh\/root_ukdba.com_dsa.pub.<\/font><br \/>\n<font face=\"Times New Roman\">The key fingerprint is:<\/font><br \/>\n<font face=\"Times New Roman\">e1:95:a5:09:e0:56:24:ac:e1:51:2a:73:c9:09:c5:e2 <a href=\"mailto:root@ukdba.com\">root@ukdba.com<\/a><br \/>\n<\/font><br \/>\n<font face=\"Times New Roman\">root@ukdba.com # cd .ssh<\/font><br \/>\n<font face=\"Times New Roman\">root@ukdba.com # ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 4<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 root root 668 Sep 21 15:51 root_ukdba.com_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 603 Sep 21 15:51 root_ukdba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">root@ukdba.com # cat root_ukdba.com_dsa.pub &gt;&gt;authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">root@ukdba.com # ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 6<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 root root 668 Sep 21 15:51 root_ukdba.com_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 603 Sep 21 15:51 root_ukdba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 603 Sep 21 15:52 authorized_keys2<\/font><\/p>\n<p><font face=\"Times New Roman\"><br \/>\nroot@inddba.com # hostname<\/font><br \/>\n<font face=\"Times New Roman\">inddba.com<\/font><br \/>\n<font face=\"Times New Roman\">root@inddba.com # id<\/font><br \/>\n<font face=\"Times New Roman\">uid=0(root) gid=0(root)<\/font><br \/>\n<font face=\"Times New Roman\">root@inddba.com # pwd<\/font><br \/>\n<font face=\"Times New Roman\">\/<\/font><br \/>\n<font face=\"Times New Roman\">root@inddba.com # <strong>ssh-keygen -t dsa<\/strong><\/font><br \/>\n<font face=\"Times New Roman\">Generating public\/private dsa key pair.<\/font><br \/>\n<font face=\"Times New Roman\">Enter file in which to save the key (\/\/.ssh\/id_dsa): \/\/.ssh\/root_inddba.com_dsa<\/font><br \/>\n<font face=\"Times New Roman\">Created directory &#8216;\/\/.ssh&#8217;.<\/font><font face=\"Times New Roman\">Enter passphrase (empty for no passphrase):<\/font><br \/>\n<font face=\"Times New Roman\">Enter same passphrase again:<\/font><br \/>\n<font face=\"Times New Roman\">Your identification has been saved in \/\/.ssh\/root_inddba.com_dsa.<\/font><br \/>\n<font face=\"Times New Roman\">Your public key has been saved in \/\/.ssh\/root_inddba.com_dsa.pub.<\/font><br \/>\n<font face=\"Times New Roman\">The key fingerprint is:<\/font><br \/>\n<font face=\"Times New Roman\">62:39:aa:8b:04:c6:81:36:15:08:99:75:5e:26:04:86 root@inddba.com<\/font><br \/>\n<font face=\"Times New Roman\">root@inddba.com # ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 4<\/font><br \/>\n<font face=\"Times New Roman\">root@inddba.com # ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 6<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 root root 668 Sep 21 15:55 root_inddba.com_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 603 Sep 21 15:55 root_inddba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 603 Sep 21 15:56 authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">root@inddba.com #<\/font><br \/>\n<font face=\"Times New Roman\">$ hostname<\/font><br \/>\n<font face=\"Times New Roman\">ukdba.com<\/font><br \/>\n<font face=\"Times New Roman\">$ id<\/font><br \/>\n<font face=\"Times New Roman\">uid=102(oaprod) gid=100(dba)<\/font><br \/>\n<font face=\"Times New Roman\">$ pwd<\/font><br \/>\n<font face=\"Times New Roman\">\/home\/oaprod<\/font><br \/>\n<font face=\"Times New Roman\">$ ssh-keygen -t dsa<\/font><br \/>\n<font face=\"Times New Roman\">Generating public\/private dsa key pair.<\/font><br \/>\n<font face=\"Times New Roman\">Enter file in which to save the key (\/home\/oaprod\/.ssh\/id_dsa): \/home\/oaprod\/.ssh\/oaprod_ukdba.com_dsa<\/font><br \/>\n<font face=\"Times New Roman\">Enter passphrase (empty for no passphrase):<\/font><br \/>\n<font face=\"Times New Roman\">Enter same passphrase again:<\/font><br \/>\n<font face=\"Times New Roman\">Your identification has been saved in \/home\/oaprod\/.ssh\/oaprod_ukdba.com_dsa.<\/font><br \/>\n<font face=\"Times New Roman\">Your public key has been saved in \/home\/oaprod\/.ssh\/oaprod_ukdba.com_dsa.pub.<\/font><br \/>\n<font face=\"Times New Roman\">The key fingerprint is:<\/font><br \/>\n<font face=\"Times New Roman\">26:d5:11:3b:92:eb:fb:3d:20:f0:ab:54:db:d1:f1:13 oaprod@ukdba.com<\/font><br \/>\n<font face=\"Times New Roman\">$ cd .ssh<\/font><br \/>\n<font face=\"Times New Roman\">$ pwd<\/font><br \/>\n<font face=\"Times New Roman\">\/home\/oaprod\/.ssh<\/font><br \/>\n<font face=\"Times New Roman\">$ ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 6<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaprod dba 228 Sep 19 09:32 known_hosts<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 oaprod dba 668 Sep 21 15:57 oaprod_ukdba.com_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaprod dba 606 Sep 21 15:57 oaprod_ukdba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">$ cat oaprod_ukdba.com_dsa.pub &gt;&gt;authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">$ ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 8<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaprod dba 228 Sep 19 09:32 known_hosts<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 oaprod dba 668 Sep 21 15:57 oaprod_ukdba.com_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaprod dba 606 Sep 21 15:57 oaprod_ukdba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaprod dba 606 Sep 21 15:58 authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">$ hostname<\/font><br \/>\n<font face=\"Times New Roman\">inddba.com<\/font><br \/>\n<font face=\"Times New Roman\">$ id<\/font><br \/>\n<font face=\"Times New Roman\">uid=101(oaospxy) gid=100(dba)<\/font><br \/>\n<font face=\"Times New Roman\">$ pwd<\/font><br \/>\n<font face=\"Times New Roman\">\/home\/oaospxy<\/font><br \/>\n<font face=\"Times New Roman\">$ ssh-keygen -t dsa<\/font><br \/>\n<font face=\"Times New Roman\">Generating public\/private dsa key pair.<\/font><br \/>\n<font face=\"Times New Roman\">Enter file in which to save the key (\/home\/oaospxy\/.ssh\/id_dsa): \/home\/oaospxy\/.ssh\/oaospxy_inddba.com_dsa<\/font><br \/>\n<font face=\"Times New Roman\">Enter passphrase (empty for no passphrase):<\/font><br \/>\n<font face=\"Times New Roman\">Enter same passphrase again:<\/font><br \/>\n<font face=\"Times New Roman\">Your identification has been saved in \/home\/oaospxy\/.ssh\/oaospxy_inddba.com_dsa.<\/font><br \/>\n<font face=\"Times New Roman\">Your public key has been saved in \/home\/oaospxy\/.ssh\/oaospxy_inddba.com_dsa.pub.<\/font><br \/>\n<font face=\"Times New Roman\">The key fingerprint is:<\/font><br \/>\n<font face=\"Times New Roman\">f1:4f:15:b4:6c:f1:c9:e9:31:79:37:ad:6e:09:71:0a oaospxy@inddba.com<\/font><br \/>\n<font face=\"Times New Roman\">$ cd .ssh<\/font><br \/>\n<font face=\"Times New Roman\">$ pwd<\/font><br \/>\n<font face=\"Times New Roman\">\/home\/oaospxy\/.ssh<\/font><br \/>\n<font face=\"Times New Roman\">$ ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 6<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaospxy dba 228 Sep 19 09:26 known_hosts<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 oaospxy dba 668 Sep 21 16:03 oaospxy_inddba.com_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaospxy dba 606 Sep 21 16:03 oaospxy_inddba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">$ cat oaospxy_inddba.com_dsa.pub &gt;&gt;authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">$ ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 8<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaospxy dba 228 Sep 19 09:26 known_hosts<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 oaospxy dba 668 Sep 21 16:03 oaospxy_inddba.com_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaospxy dba 606 Sep 21 16:03 oaospxy_inddba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaospxy dba 606 Sep 21 16:03 authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">$<\/font><\/p>\n<p><font face=\"Times New Roman\">root@ukdba.com # hostname<\/font><br \/>\n<font face=\"Times New Roman\">ukdba.com<\/font><br \/>\n<font face=\"Times New Roman\">root@ukdba.com # id<\/font><br \/>\n<font face=\"Times New Roman\">uid=0(root) gid=0(root)<\/font><br \/>\n<font face=\"Times New Roman\">root@ukdba.com # pwd<\/font><br \/>\n<font face=\"Times New Roman\">\/.ssh<\/font><br \/>\n<font face=\"Times New Roman\">root@ukdba.com # ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 8<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 root root 668 Sep 21 15:51 root_ukdba.com_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 603 Sep 21 15:51 root_ukdba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 603 Sep 21 15:52 authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 231 Sep 21 16:07 known_hosts<\/font><br \/>\n<font face=\"Times New Roman\">root@ukdba.com # scp oaospxy@inddba.com:\/apphome\/oaospxy\/.ssh\/oaospxy_inddba.com_dsa.pub .<\/font><br \/>\n<font face=\"Times New Roman\">The authenticity of host &#8216;inddba.com (192.9.100.10)&#8217; can&#8217;t be established.<\/font><br \/>\n<font face=\"Times New Roman\">RSA key fingerprint is 12:b0:35:37:07:2d:b3:f2:f7:80:1f:24:f5:f1:03:08.<\/font><br \/>\n<font face=\"Times New Roman\">Are you sure you want to continue connecting (yes\/no)? yes<\/font><br \/>\n<font face=\"Times New Roman\">Warning: Permanently added &#8216;inddba.com,192.9.100.10&#8217; (RSA) to the list of known hosts.<\/font><font face=\"Times New Roman\">Password:<\/font><br \/>\n<font face=\"Times New Roman\">oaospxy_inddba.com_dsa 100% |**************************************************************************| 606 00:00<\/font><br \/>\n<font face=\"Times New Roman\">root@ukdba.com #<\/font><br \/>\n<font face=\"Times New Roman\">root@ukdba.com # scp root_ukdba.com_dsa.pub oaospxy@inddba.com:\/apphome\/oaospxy\/.ssh<\/font><br \/>\n<font face=\"Times New Roman\">Password:<\/font><br \/>\n<font face=\"Times New Roman\">root_ukdba.com_dsa.pu 100%<\/font><\/p>\n<p><font face=\"Times New Roman\">root@ukdba.com # cp root_ukdba.com_dsa.pub \/home\/oaprod\/.ssh<\/font><br \/>\n<font face=\"Times New Roman\">root@ukdba.com # ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 14<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 root root 668 Sep 21 15:51 root_ukdba.com_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 603 Sep 21 15:51 root_ukdba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 603 Sep 21 15:52 authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 462 Sep 21 16:13 known_hosts<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 606 Sep 21 16:13 oaospxy_inddba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 606 Sep 21 16:16 oaprod_ukdba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">root@ukdba.com # cat oaospxy_inddba.com_dsa.pub &gt;&gt;authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">root@ukdba.com # cat oaprod_ukdba.com_dsa.pub &gt;&gt;authorized_keys2<\/font><\/p>\n<p><font face=\"Times New Roman\">$ hostname<\/font><br \/>\n<font face=\"Times New Roman\">ukdba.com<\/font><br \/>\n<font face=\"Times New Roman\">$ id<\/font><br \/>\n<font face=\"Times New Roman\">uid=102(oaprod) gid=100(dba)<\/font><br \/>\n<font face=\"Times New Roman\">$ pwd<\/font><br \/>\n<font face=\"Times New Roman\">\/home\/oaprod\/.ssh<\/font><br \/>\n<font face=\"Times New Roman\">$ ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 10<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaprod dba 228 Sep 19 09:32 known_hosts<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 oaprod dba 668 Sep 21 15:57 oaprod_ukdba.com_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaprod dba 606 Sep 21 15:57 oaprod_ukdba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaprod dba 606 Sep 21 15:58 authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 603 Sep 21 16:17 root_ukdba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">$ cat root_ukdba.com_dsa.pub &gt;&gt;authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">$ ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 12<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaprod dba 228 Sep 19 09:32 known_hosts<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 oaprod dba 668 Sep 21 15:57 oaprod_ukdba.com_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaprod dba 606 Sep 21 15:57 oaprod_ukdba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 root root 603 Sep 21 16:17 root_ukdba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaprod dba 1209 Sep 21 16:20 authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">$<\/font><br \/>\n<font face=\"Times New Roman\">$ hostname<\/font><br \/>\n<font face=\"Times New Roman\">inddba.com<\/font><br \/>\n<font face=\"Times New Roman\">$ id<\/font><br \/>\n<font face=\"Times New Roman\">uid=101(oaospxy) gid=100(dba)<\/font><br \/>\n<font face=\"Times New Roman\">$ pwd<\/font><br \/>\n<font face=\"Times New Roman\">\/apphome\/oaospxy\/.ssh<\/font><br \/>\n<font face=\"Times New Roman\">$ ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 10<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaospxy dba 228 Sep 19 09:26 known_hosts<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 oaospxy dba 668 Sep 21 16:03 oaospxy_inddba.com_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaospxy dba 606 Sep 21 16:03 oaospxy_inddba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaospxy dba 606 Sep 21 16:03 authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaospxy dba 603 Sep 21 16:24 root_ukdba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">$ cat root_ukdba.com_dsa.pub &gt;&gt;authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">$ ls -lrt<\/font><br \/>\n<font face=\"Times New Roman\">total 12<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaospxy dba 228 Sep 19 09:26 known_hosts<\/font><br \/>\n<font face=\"Times New Roman\">-rw&#8212;&#8212;- 1 oaospxy dba 668 Sep 21 16:03 oaospxy_inddba.com_dsa<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaospxy dba 606 Sep 21 16:03 oaospxy_inddba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaospxy dba 603 Sep 21 16:24 root_ukdba.com_dsa.pub<\/font><br \/>\n<font face=\"Times New Roman\">-rw-r&#8211;r&#8211; 1 oaospxy dba 1209 Sep 21 16:26 authorized_keys2<\/font><br \/>\n<font face=\"Times New Roman\">$<\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This setup will allow you to log in to another account without having to provide the password. \u00a0\u00a0\u00a0\u00a0 Identify the [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[213],"tags":[],"class_list":["post-802","post","type-post","status-publish","format-standard","hentry","category-solaris"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to set up SSH for No Password on SunOS -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/09\/how-to-set-up-ssh-for-no-password-on-sunos\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to set up SSH for No Password on SunOS -\" \/>\n<meta property=\"og:description\" content=\"This setup will allow you to log in to another account without having to provide the password. \u00a0\u00a0\u00a0\u00a0 Identify the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/09\/how-to-set-up-ssh-for-no-password-on-sunos\/\" \/>\n<meta property=\"article:published_time\" content=\"2008-09-09T16:02:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2008-09-09T18:19:54+00:00\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/09\/how-to-set-up-ssh-for-no-password-on-sunos\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/09\/how-to-set-up-ssh-for-no-password-on-sunos\/\",\"name\":\"How to set up SSH for No Password on SunOS -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"datePublished\":\"2008-09-09T16:02:45+00:00\",\"dateModified\":\"2008-09-09T18:19:54+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/09\/how-to-set-up-ssh-for-no-password-on-sunos\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/09\/how-to-set-up-ssh-for-no-password-on-sunos\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/09\/how-to-set-up-ssh-for-no-password-on-sunos\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to set up SSH for No Password on SunOS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to set up SSH for No Password on SunOS -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/09\/how-to-set-up-ssh-for-no-password-on-sunos\/","og_locale":"en_US","og_type":"article","og_title":"How to set up SSH for No Password on SunOS -","og_description":"This setup will allow you to log in to another account without having to provide the password. \u00a0\u00a0\u00a0\u00a0 Identify the [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/09\/how-to-set-up-ssh-for-no-password-on-sunos\/","article_published_time":"2008-09-09T16:02:45+00:00","article_modified_time":"2008-09-09T18:19:54+00:00","author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/09\/how-to-set-up-ssh-for-no-password-on-sunos\/","url":"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/09\/how-to-set-up-ssh-for-no-password-on-sunos\/","name":"How to set up SSH for No Password on SunOS -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"datePublished":"2008-09-09T16:02:45+00:00","dateModified":"2008-09-09T18:19:54+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/09\/how-to-set-up-ssh-for-no-password-on-sunos\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2008\/09\/09\/how-to-set-up-ssh-for-no-password-on-sunos\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/09\/how-to-set-up-ssh-for-no-password-on-sunos\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"How to set up SSH for No Password on SunOS"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=802"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/802\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}