Add a config file to set default parameters
I would like to always login with a concrete login user. Right now I need to type:
viscat@local:~$ sshaws -l [useraws] [hostname]
I would like to only type:
viscat@local:~$ sshaws [hostname]
To do this, can be achieved by allowing a config file with the defaults.
I think that the best way to achieve this is using ssh config files (this will apply not only for sshaws). If you want to change the default user for all ssh connections:
# Edit your ~/.ssh/config file and append:
Host *
User <USERNAME>
- Info: https://www.ssh.com/ssh/config/
Or do you think that it's helpful to be able to define that on sshaws in an independent way?
I think that the best way to achieve this is using ssh config files (this will apply not only for sshaws). If you want to change the default user for all ssh connections:
# Edit your ~/.ssh/config file and append: Host * User <USERNAME>
- Info: https://www.ssh.com/ssh/config/
Or do you think that it's helpful to be able to define that on sshaws in an independent way?
Ou mama! You are right!
Are the aws region taken from ~/.aws/config file?