[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>ssh -l admin 10.104.99.166
admin@10.104.99.166's password:
Last login: Tue Jul 7 20:43:48 2015 from 10.64.69.73
admin@AAA-PC1 ~
$
admin@AAA-PC1 ~
$ exit
logout
Connection to 10.104.99.166 closed.
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/users/srikragh/.ssh/id_rsa):
/users/srikragh/.ssh/id_rsa already exists.
Overwrite (y/n)?
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/users/srikragh/.ssh/id_rsa):
/users/srikragh/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /users/srikragh/.ssh/id_rsa.
Your public key has been saved in /users/srikragh/.ssh/id_rsa.pub.
The key fingerprint is:
cf:2c:47:ea:3a:7a:8e:5e:a9:72:9d:03:12:a5:a8:80 srikragh@bear-bld-lnx
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>ssh admin@10.104.99.166 mkdir -p .ssh
admin@10.104.99.166's password:
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>cat .ssh/id_rsa.pub | ssh admin@10.104.99.166 'cat >> .ssh/authorized_keys'
admin@10.104.99.166's password:
Permission denied, please try again.
admin@10.104.99.166's password:
Permission denied, please try again.
admin@10.104.99.166's password:
cat: .ssh/id_rsa.pub: No such file or directory
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>cd
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>cat .ssh/id_rsa.pub | ssh admin@10.104.99.166 'cat >> .ssh/authorized_keys'
admin@10.104.99.166's password:
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>ssh admin@10.104.99.166 "chmod 700 .ssh; chmod 640 .ssh/authorized_keys"
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>ssh admin@10.104.99.166
Last login: Wed Jul 8 13:12:16 2015 from 10.64.69.73
admin@AAA-PC1 ~
$
admin@AAA-PC1 ~
$ exit
logout
Connection to 10.104.99.166 closed.
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>ssh -l admin 10.104.99.166
admin@10.104.99.166's password:
Last login: Tue Jul 7 20:43:48 2015 from 10.64.69.73
admin@AAA-PC1 ~
$
admin@AAA-PC1 ~
$ exit
logout
Connection to 10.104.99.166 closed.
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/users/srikragh/.ssh/id_rsa):
/users/srikragh/.ssh/id_rsa already exists.
Overwrite (y/n)?
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/users/srikragh/.ssh/id_rsa):
/users/srikragh/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /users/srikragh/.ssh/id_rsa.
Your public key has been saved in /users/srikragh/.ssh/id_rsa.pub.
The key fingerprint is:
cf:2c:47:ea:3a:7a:8e:5e:a9:72:9d:03:12:a5:a8:80 srikragh@bear-bld-lnx
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>ssh admin@10.104.99.166 mkdir -p .ssh
admin@10.104.99.166's password:
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>cat .ssh/id_rsa.pub | ssh admin@10.104.99.166 'cat >> .ssh/authorized_keys'
admin@10.104.99.166's password:
Permission denied, please try again.
admin@10.104.99.166's password:
Permission denied, please try again.
admin@10.104.99.166's password:
cat: .ssh/id_rsa.pub: No such file or directory
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>
[bear-bld-lnx:/auto/tftp-blr-users1/srikragh]>cd
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>cat .ssh/id_rsa.pub | ssh admin@10.104.99.166 'cat >> .ssh/authorized_keys'
admin@10.104.99.166's password:
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>ssh admin@10.104.99.166 "chmod 700 .ssh; chmod 640 .ssh/authorized_keys"
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>ssh admin@10.104.99.166
Last login: Wed Jul 8 13:12:16 2015 from 10.64.69.73
admin@AAA-PC1 ~
$
admin@AAA-PC1 ~
$ exit
logout
Connection to 10.104.99.166 closed.
[bear-bld-lnx:/users/srikragh]>
[bear-bld-lnx:/users/srikragh]>
No comments:
Post a Comment