OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Per E. Johannessen on May 21, 2025, 06:28:14 pm
-
Can anyone recommend a recent/updated SFTP-client?
The connection I'll try to setup is to an external server accepting RSA-2048 keys.
-
IIRC I ported an old version of NcFtp years ago, I don't remember if it was SFTP compliant - most probably not. I may try to search for a more recent version.
Mentore
-
You can give a try to FireFTP addon (it will work under our latest firefox or seamonkey.
I have it under firefox OS/2 (ArcaOS 5.1.1) and often use it.
It looks like this addon is allready available directly from fireftp.net link => https://github.com/mimecuvalo/fireftp/releases
Just tested he latest and 2.0.32 works too.
Note: if addon installed is refused for not signed addon under firefox, you can set under about:config
xpinstall.signatures.required to false
-
Found this about the server;
"To ensure the highest level of data integrity and confidentiality, Mastercard requires all our customers to use SFTP/SSH with enhanced security requirements. This includes using longer keys to strengthen encryption and ensure the safe transmission of information. Mastercard requests its customers to update their systems according to the new security requirements."
They recently changed requirements and now only accept longer keys. Most likely the SFTP client have to be a lot newer than what is currently
available for OS/2 as well.
Looked at NetDrive and SFTP plugin but they've not been updated for years either.
Does anyone use a SFTP client to connect to a server that requires "highest level of data integrity and confidentiality" as stated by Mastercard?
-
Other option: Did you have a look on OpenSSH ?
-
Yes, and OpenSSH looks promising but unfortunately I would need a frontend for it.
I could do with a cmd-line version, however there is another user who refuses to use anything that has no GUI.
-
Yes, and OpenSSH looks promising but unfortunately I would need a frontend for it.
I could do with a cmd-line version, however there is another user who refuses to use anything that has no GUI.
If you have some knowledge with rexx, use drdialog and create a GUI (frontend) to issue command but of course, for a nice GUI with a lot of function it will need a lot of work and better to find some shh gui if exist.
Create dialogs to get needed information to issue the sftp command using a "get" or what else named button which will issue the command (as detach command) with pipe mode, get messages back from the pipe into an other dialog until end of sftp process.
-
Have you considered Peter Moylan's SFTP client?
ftp://anonymous@ftp.pmoylan.org/FtpServer/SFTPClient_0.1.zip
See
http://www.pmoylan.org/pages/os2/FtpServer.html
for more details. Peter supports these via the
Moylan FTP Server Mailing List <ftpserver-list@os2voice.org>
-
Thanks, I wasn't aware of Peter Moylan's SFTP client, I'll have a look at it.
Found SFTPClient_1.1.zip in ftp://anonymous@ftp.pmoylan.org/SFTPServer/
-
Sorry for the bad link. It was a leftover from the early development testing.
1.1 is the current version.
BTW, I missed the GUI requirement. Unfortunately, SFTPClient is a VIO app.
-
I looked at Qt SFTP clients, found one but it has a dependency on botan. Spent last night looking at botan's weird Python based build system, and yes it is weird. They also refuse to support any OS that the original vendor has dropped support for.
https://github.com/sandsmark/QSsh (https://github.com/sandsmark/QSsh)
https://botan.randombit.net/ (https://botan.randombit.net/)
Botan is interesting and with makefile editing, it builds fine with a broken DLL, only failure was get_pid(), not sure about calling it from C++.
-
There's no problem calling C code from C++ as long as the declarations are properly wrapped in extern "C" blocks.
We don't have a get_pid, but we do have getpid which libc defines in sys\process.h and it is properly wrapped.
-
There's no problem calling C code from C++ as long as the declarations are properly wrapped in extern "C" blocks.
We don't have a get_pid, but we do have getpid which libc defines in sys\process.h and it is properly wrapped.
OK, that explains things.
I actually managed to build a statically linked botan.exe and botan-test.exe, the library is over 14 MB's.
Running botan-test.exe gets quite a ways before crashing at,
...
argon2:
terminate called recursively
terminate called recursively
terminate called after throwing an instance of 'Killed by SIGABRT
pid=0xstd::system_error2f0e ppid=0x0076 tid=0x0009 slot=0x00df pri=0x0200 mc=0x0
001 ps=0x0010
'
H:\TMP\BOTAN\BOTAN-TEST.EXE what(): Operation not permitted
terminate called recursively
Creating 2F0E_09.TRP
Moved 2f0e_09.TRP to W:\var\log\app\682fa811-2f0e_09-BOTAN-TEST-exceptq.txt
Need to add a -g somewhere. trp attached
Probably going to have to ask upstream for advice in building a working DLL. Source will need some patching to support sockets, with luck only an include but probably avoid IPv6 stuff.
-
I had a brain fart, it was getpid(). Added the include and it compiled. For modern code, it rejected GCC 9.2.0 as too old, so far only an include needed :)
-
I had a brain fart, it was getpid(). Added the include and it compiled. For modern code, it rejected GCC 9.2.0 as too old, so far only an include needed :)
Great news. ISTR I had worked on botan time ago, but I don't remember if I had success on it. I don't even remember why I tried to port it, but surely it was a part of another package, maybe something QT related...
Mentore
-
Could FileZilla be an alternative?
https://filezilla-project.org/download.php?show_all=1
-
Could FileZilla be an alternative?
https://filezilla-project.org/download.php?show_all=1
No, it uses WxWidgets.
-
Have you tried the client: https://ecsoft2.org/sftpclient (https://ecsoft2.org/sftpclient)
-
It wold be interesting to know if using sftp command line (from ssh), it will work.
cmd exemple: sftp -P 22 userid@serveur_domain:/remote_dir
If it works, than I'll check if pipe mode is usable under rexx and if yes, a simplified GUI could be quickly created ...
updt: For secuyrity raison, psw can't be sent through pipe not put into a batch file.
I give a try using copy/paste and it works ! but how to issue a command (e.g. rexx) to have the "paste" operational into a specific cmd prompt window under which sftp is started ?
-
How about trying to use KSCP ?
https://hobbesarchive.com/?dir=%2F&stype=all&sort=type_name&search=kscp&submit=Search
It's very simple SFTP GUI client.