SFTP Plugin - where do I specify my cert file?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
NealWalters
Junior Member
Junior Member
Posts: 7
Joined: 2010-01-15, 14:48 UTC

SFTP Plugin - where do I specify my cert file?

Post by *NealWalters »

I installed the DLLs and the plugin, but not sure if correct.
Will anything look different to verify they are installed correctly?

I still use CNTL-F to use the same FTP interface right?
Then where do I specify the SSH2 key file on disk or paste it in?

Thanks,
Neal Walters
User avatar
Dalai
Power Member
Power Member
Posts: 9388
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: SFTP Plugin - where do I specify my cert file?

Post by *Dalai »

NealWalters wrote:I still use CNTL-F to use the same FTP interface right?
No. Use Network Neighborhood in TC, just like with any other file-system plugin. This is also mentioned in the plugin's readme.txt.
Then where do I specify the SSH2 key file on disk or paste it in?
In the connection settings, but you'll see this yourself once you looked in Network Neighborhood as mentioned above.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
NealWalters
Junior Member
Junior Member
Posts: 7
Joined: 2010-01-15, 14:48 UTC

Post by *NealWalters »

Thanks, I wasn't familiar with Network Neighborhood. I found the cm_OpenNetwork command. Is there a menu to it?

I also forgot that plug-ins have readme's. I only install a plug-in once every few years.

Neal
NealWalters
Junior Member
Junior Member
Posts: 7
Joined: 2010-01-15, 14:48 UTC

Post by *NealWalters »

I followed the readme for building new certs, and get "Error: Authentication by client certificate failed!".
My ppk certs allow me to connect with WinSCP.

Just to be sure, is it the public.ppk or private.ppk I'm supposed to load into PuttyGen. I did the private one (since it contains the public as well).

Thanks,
Neal
User avatar
Dalai
Power Member
Power Member
Posts: 9388
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

NealWalters wrote:I found the cm_OpenNetwork command. Is there a menu to it?
No need for a command. Just open the drive list (Alt+F1 or Alt+F2) and select Network Neighborhood there.
Just to be sure, is it the public.ppk or private.ppk I'm supposed to load into PuttyGen. I did the private one (since it contains the public as well).
You load the PPK into PuTTYGen, then copy the text from the upper text box (the one that says "Public key for pasting into OpenSSH authorized_keys file"), and save it as public.key (I use <computername>.pub for public key files).

Next, still in PuTTYGen, select Conversions > Export OpenSSH key and save it to private.key (I use <computername>.key for private key files).

The private key should look like this:

Code: Select all

-----BEGIN RSA PRIVATE KEY----- 
<many lines with some characters>
-----END RSA PRIVATE KEY----- 
and your public key like this (one line):

Code: Select all

ssh-rsa <some characters here>== <optional user@host here>
Back in TC specify private.key as your private key and public.key as your public key.

That's one way to do it. Another would be to create both key files on the Linux box and copy them over to your Windows system to use them in TC (and perhaps import them into PuTTY(Gen)).

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Post Reply