Skip to main content

All Questions

Tagged with
0 votes
2 answers
1k views

check ssh-key multiple servers [closed]

I need to make a script to check authentication of an user with ssh-key on multiple Redhat servers, approximately 980 servers. User can edit script for userID and private ssh-key location. Script ...
Mihai's user avatar
  • 11
1 vote
1 answer
496 views

Escaping quotes and apostrophes through ssh command execution

I would like to execute the following command through ssh: echo "trap '/tmp/test &' 2 9" >> /tmp/output.txt I am trying to do as follows: ssh 127.0.0.1 -T "echo "trap '/tmp/test &' 2 9"...
ebdecastro's user avatar