1
vote
1answer
69 views

Bash command substitution and variable issue

I am writing some simple backup utility in bash and any output must be in JSON. I am checking for host reachability and if any error occurs, I want to print it out. However, I have an issue with ...
1
vote
1answer
60 views

Are there situations in which ssh -t shouldn't be used?

Working within a framework commands are issued to remote machines using ssh. Recently the -t option was added to the command in order to get it to work properly with sudo. However this option will ...
1
vote
1answer
1k views

openssh in Windows 7, run ssh-add once for all cmd instances

I have installed openSSH as part of the latest cygwin distribution. My goal is to use the ssh-agent from native window console (cmd) in order to login passwordless in a various number of Linux ...
10
votes
3answers
4k views

SSH: completly disabling password authentication

is there a way to disable password authentication completely? The command line is the following: ssh -o KbdInteractiveAuthentication=no -o PasswordAuthentication=no machine" it STILL asks for a ...