I have a Solaris server and I need to remove a file at remote machine using sftp (I can't use ssh). Is it possible to pass a private key for auth to this command (I don't see -i parameter in Solaris) and how to remove this file? Thanks.
You can use the -o option to pass SSH options. Eg
This will connect and start the interactive SFTP session. Enter the commands following the
And you're done!