Where do we get SSH Public Key for our instance?

Jack9
Giga Contributor

We are trying to use sFTP to retrieve csv files to be imported into ServiceNow but we cannot find anywhere that provides the SSH Public Key for the ServiceNow instances.

 

Where can we get the SSH Public Keys for our instances?

 

Thanks!

1 ACCEPTED SOLUTION

corina
ServiceNow Employee
ServiceNow Employee

Hello Jacques.




Service Now does not have a feature that allows a data source to authenticate with a public/private key pair.


http://wiki.servicenow.com/index.php?title=Data_Sources#File_Types


View solution in original post

10 REPLIES 10

Dave Smith1
ServiceNow Employee
ServiceNow Employee

If you're looking at Import Sets, use scp rather than sftp to copy it over - this permits key authentication:



find_real_file.png


Check out the "Example XLS Test Users via SCP" Data Source.


tim210
ServiceNow Employee
ServiceNow Employee

Hi Dave,



I have a customer asking about this too and I'd like to ask whether you ever found a way to get public/private key auth to actually work (even with scp)? When I tried it on Jakarta I found it asks for the path to a keyfile, but whatever file path you put in there the node is unable to access.


I also found a PRB (PRB562441) that suggests this feature hasn't worked for years and should be removed from the UI.


Dave Smith1
ServiceNow Employee
ServiceNow Employee

I wasn't aware of that... I'll give it a go on one of my testbeds next week and see what the results are.


corina
ServiceNow Employee
ServiceNow Employee

Hello Jacques.




Service Now does not have a feature that allows a data source to authenticate with a public/private key pair.


http://wiki.servicenow.com/index.php?title=Data_Sources#File_Types


Jack9
Giga Contributor

Thanks Corina!



That's what i suspected. The security guys are always going overboard