ssh question on linux# Programming - 葵花宝典
e*n
1 楼
Tried the following script on linux and mac:
export ABC="ssh -o \"pubkeyAuthentication yes\" -i id_rsa [email protected]"
$ABC
on linux, I always got an error "command-line: line 0: Bad configuration
option", but on mac, it seems OK.
Anyone has encountered the same problem on linux?
Thanks a lot!
export ABC="ssh -o \"pubkeyAuthentication yes\" -i id_rsa [email protected]"
$ABC
on linux, I always got an error "command-line: line 0: Bad configuration
option", but on mac, it seems OK.
Anyone has encountered the same problem on linux?
Thanks a lot!