Page 2 of 2

Re: Upgrade to SFTP-Upload

Posted: Sunday 21 March 2021 20:17
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

Re: Upgrade to SFTP-Upload

Posted: Monday 22 March 2021 12:20
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

Re: Upgrade to SFTP-Upload

Posted: Monday 22 March 2021 14:19
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' ....

Re: Upgrade to SFTP-Upload

Posted: Monday 22 March 2021 15:05
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