Windows Flashcards

Misc

1
Q

What is Public/Private key concept?

A

We give other our public key then we send messages to them with encryption of our private key. The other can decode our message with public key that we give to them

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to make auto logon to remote Linux host with SSH?

A

on the remote server put our public key in “.ssh” directory of user to be login for Linux then use PuTTy to connect with provide private key in PuTTy configuration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In SSH world, what is host key?

A

HostKey is the key string to identify itself. The first time we use SSH logon to that host, SSH will display the host key for us to confirm. If we confirm then SSH will save it then next time it will just compare when we logon to that host. If it is the same then no question.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

In WinSCP, how to accept any hostkey in command line?

A

“open -hostkey:*”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what command line for WinSCP to auto connect to Linux host destination?

A

WinSCP.com -command “open user@hostname -hostkey:* -privatekey=location of key”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly