login about faq

I have created my Public & Private keys in a client

I understand from the SSHTectia manual I can use the SFTPG3 command with option -K to indentify my key file, it does not says weather is the public or the private, never the less I am transmitting not receving data, so I need my public I would think., and needs to be the one I created no other in the SSH client I am working on.

So a normal command would be SFTPG3 -B batchfileforcommands user@domain ??

Notice I am executing in a client not the server and the server has the firewall open to the target system not the client I am executing on.

If I change the command to SFTPG3 -B batchfile -K, keyfilename .. or SFTPG3 -B batchfile -K, --identity-key-file=keyfilename ..or SFTPG3 -B batchfile -K --identify-key-file=keyfilename all result in "Illegal option K"

Question: What is the proper syntax? or can I use SCGP3 instead and what would be the syntax to give a user name, location of the key file, from & to files? do not care for password.

Also I must say that the manual refers to the key file as being located in the path of the command?, or is the path where being executed? or the SSHServer, the client?, which folder?, by the way both command only reside in the client they are not in the server.

asked Jan 25 '12 at 21:23

melchor's gravatar image


The command should be the full path to the PRIVATE key, for example.

sftpg3 -K "C:\keys\private_key_file" USER@HOST

Although it shouldn't affect it try first without the -B option to make sure that the connection works without user interaction.




answered Mar 22 '12 at 23:45

Joe%20-%20Tectia%20Support's gravatar image

Joe - Tectia Support ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jan 25 '12 at 21:23

Seen: 7,854 times

Last updated: Mar 22 '12 at 23:45

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.