Displaying 1 result from an estimated 1 matches for "ttlzuelgrfn".
2010 Sep 24
2
grep contents of file on remote server
...ile I have SCP'd to a
remote server. I am able to cat it:
[code]
[bluethundr at LBSD2:~]$:ssh root at sum1 cat /root/id_rsa.pub
root at lcent01.summitnjhome.com's password:
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEApnUSYyrM96qIBZKjwSNYycgeSv/FAKE-KEY-DATA--KEY-DATA-PWReyVuOn9Fb/uH/FAKE-KEY-DATA-+ttLzUELGrfn/n+FAKE-KEY-DATA-/FAKE-KEY-DATA-/FAKE-KEY-DATA-/FAKE-KEY-DATA-==
bluethundr at lbsd8-2.summitnjhome.com
[/code]
But I cannot cat / grep it in order to determine if this key is
already in the authorized_hosts file of the remote host.
[code]
[bluethundr at LBSD2:~]$:ssh root at sum1 grep `cat /root/...