OS/2, eCS & ArcaOS - Technical > Networking

SSH/SCP problem

(1/2) > >>

gamba:
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

dbanet:
What OpenSSH version do you use? The build from nickk, or you got it from the Netlabs RPM repository?

Is %HOME% defined?

Dave Yeo:
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

gamba:
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.

gamba:
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.

Navigation

[0] Message Index

[#] Next page

Go to full version