I use the I want to specify different settings for SCP and SSH for the same host. Is it possible to do this? I left them, but there was no way to do this. I will create a second config file, (This is an untested ~ / .ssh / config file to set my ssh options I am here.
~ / .ssh / scp_config And then specify the
-f option config file for a shell nickname for
scp :
surname scp = "scp -F ~ / .ssh / scp_config`
zsh alias; I do not know how different alias are, but This idea should be the same. Note also that you may need to use
scp -F & lt; File & gt; In the script).
No comments:
Post a Comment