I have a client that has provided sFTP credentials...
# suitescript
d
I have a client that has provided sFTP credentials, and now is asking me for a public key. Umm. I've not implemented sFTP in this way. Anyone have experience to this method? Shouldn't they be providing me with a 'Private Key' instead?
b
asymmetric crypto is designed so that you only need to exchange public keys
d
I'll never be an expert in the protocol details, but I'm more asking if NetSuite's n/sftp module supports this type of authentication? And if so, where to I retrieve this public key? (Do I generated this public key?)
b
their sftp server's public key goes in hostKey
d
Ok cool
What do I send them for a public key?
b
you may actually want to ask what configurations they support for generating the ssh key pair
👍 1
d
Thanks @battk
b
its usually only an issue on old sftp servers
you would be looking for algorithms and key lengths
d
I'm gonna read up on this authentication model to better understand
b
if you use github, you probably want to learn faster, they are deprecating username/passwords access soon
😉 1