Upgrade to SFTP-Upload

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Toulon7559
Posts: 859
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: mixed
Location: Hengelo(Ov)/NL
Contact:

Re: Upgrade to SFTP-Upload

Post by Toulon7559 »

Rob,

Thanks! This really is the power of a forum.
It would have taken a long time before this variant with a 'half' username would have popped up in my mind with
<domain-name>@ssh.strato.com

Testing to be sure and how to use it, and then another puzzle coming up.
The process now proceeding to asking for password, but no pasting of text possible and any keyboard input blocked except <Return>,
which in turn does produce the not very useful response to try again ......
[the <domain-name> in the code below is a 'placeholder'!]

Code: Select all

 ssh [email protected]
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Tried some variations of the <domain-name>, but without success, and without OK-completion of this start-setup no successful later call by script.
Now to find a way to break out of that circle: 8-) probably again something subtle .....

Anton
Last edited by Toulon7559 on Monday 22 March 2021 14:21, edited 1 time in total.
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: Upgrade to SFTP-Upload

Post by erem »

anton,

check with strato if that account is still active. it may have been turned off because of your experiments.
when i try ssh [email protected] from here, i get Connection closed by 2a01:238:20a:202:13f0::1 port 22.

you are nearly there.
once you have access, copy your pubic key to strato and further access is passwordless
Regards,

Rob
Toulon7559
Posts: 859
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: mixed
Location: Hengelo(Ov)/NL
Contact:

Re: Upgrade to SFTP-Upload

Post by Toulon7559 »

Rob,

For ;) some very clear reason I did not publish my real domain-name, but a shorter 'placeholder'.
Should have placed a warning in the previous message (now done).
Obviously (when testing with that 'placeholder') then you get response indicating that it cannot be found.
But be assured that my domain is operational: FTP is running OK, SFTP via AllwaySync is OK, website is OK.
Direct SFTP as part of a script not yet solved, and 'why&how' is the question for that aspect .....

Today I tried a few more times that ssh-call, blindtyping the password as alternative [it dawned upon me that such way of input might be required] with the result below [again shown with short 'placeholder' - domain-name]
Got 2 types of responses, ending differently

Code: Select all

$ ssh [email protected]
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Connection closed by 81.169.145.126 port 22

Code: Select all

$ ssh [email protected]
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
[email protected]: Permission denied (publickey,password).
The first response is clear & easy, not a solution.
The second response seems to hint that instead of just the password, 'something more' needs to be inserted.
Have the nagging feeling that the answer is somewhere in the combination of getting a private-key and some pieces from the info below
Host = ftp.strato.com
Username = <ftp-username>
Password = <ftp-password>
in which the <ftp-username> = <first-section>@<domain-name>
Who can explain which combination and how?

Rob,
Planning to revisit the descriptions in your earlier message:
it is a choice between 'difficult' and 'more time to find out' ....
Last edited by Toulon7559 on Tuesday 06 April 2021 10:24, edited 3 times in total.
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: Upgrade to SFTP-Upload

Post by erem »

anton,

if you have access to strato with alwaysync, you can try this

https://www.jan-grosser.de/posts/342_ss ... index.html
Regards,

Rob
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest