SFTP - Private and Public keys

Hi All,

I have a query....say on server A, I have generated the Private and Public keys and shared the public key with server B.

Now i can surelyconnect(without password) from server A to server B.....
but can i similarly connect from server B to server A as well

Regards

No, Imagine you had a production server and a testing server you may want to be able to ssh to testing from production without password, but not the other way.

server A must allow server B's public key, if you want B -> A as well.