AWS Certified Solutions Architect - Associate (SAA-C02)

Sign Up Free or Log In to participate!

what is the -i option when connecting to ssh?

what is the -i option when connecting to ssh?

2 Answers

Hello,

Basically, it’s telling the SSH command to look at the key file you need for authentication on the destination server. If you use key authentication and were provided a certificate, this is where you want to specify it. If you use normal password auth, ignore that option.

For more use manpage of ssh for -i option explanation.

Flutekaze

thanks. what does -i stand for?

» ssh ↵

usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] …

[-i identity_file] …

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?