OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Networking => Topic started by: gamba on March 23, 2015, 03:37:18 pm
-
Hi all,
from my OS/2 laptop I have no problem connecting to a Linux server and running:
scp gabriele@myserver.com:/backup/*.gz* .
But when I try the same from my OS/2 server, I get:
scp gabriele@myserver.com:/backup/*.gz* .
could not create directory 'D$/HOME/gabriele/.ssh'.
The directory D:\HOME\gabriele\.ssh obviously exists. Any hint??
Thanks
Gabriele
-
What OpenSSH version do you use? The build from nickk, or you got it from the Netlabs RPM repository?
Is %HOME% defined?
-
Might also be worth testing changing the directory separators in %HOME%, eg if using D:\HOME\Gabriele try D:/HOME/Gabriele. Case also can screw up some ports, g:/home/gabriele
-
Thank you Boris - and Dave!
I have just realized that on the server I have openssh from yum, while on the laptop I have the one from Nickk :-) Using Nickk one, it works fine also on the server.
But I would be happier if I could correctly setup openssh from yum, that is a more recent version.
What to you mean with defining HOME? I have SET HOME=D:\DEFAULT in config.sys, and D: is also unixroot.
-
set home=D:/HOME/gabriele did not help. Maybe the problem is that I have OS/2 ETC directory on C: (C:\MPTN\ETC) and Unixroot ETC directory on D: (D:\etc).
Do we have any tool to edit /etc/master.passwd? I think the file was created by Samba, but with "Samba Users and Groups" objects I don't see a way to edit Home.
-
I don't think that anyone had ever tested OpenSSH from RPM, so the only alternative now is the build from nickk.