Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password for SFTP connection needs to be obscured #131

Open
Kipjr opened this issue May 30, 2021 · 4 comments
Open

Password for SFTP connection needs to be obscured #131

Kipjr opened this issue May 30, 2021 · 4 comments

Comments

@Kipjr
Copy link

Kipjr commented May 30, 2021

The associated forum post URL from https://forum.rclone.org

n/a

What is the problem you are having with rclone?

viewing in GUI the contents of remote or viewing it using cli

rclone | 2021/05/30 16:16:39 ERROR : rc: "operations/list": error: NewFs: couldn't connect SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain

using SSH on the docker host or using Filezilla does work.

What is your rclone version (output from rclone version)

rclone v1.56.0-beta.5530.df60e6323

  • os/version: alpine 3.13.5 (64 bit)
  • os/kernel: 5.4.51-v8+ (aarch64)
  • os/type: linux
  • os/arch: arm64
  • go/version: go1.16.4
  • go/linking: static
  • go/tags: none

Which OS you are using and how many bits (e.g. Windows 7, 64 bit)

Raspbian 64 bit with Docker and image: rclone/rclone:beta

Which cloud storage system are you using? (e.g. Google Drive)

sftp: https://www.transip.nl/stack/
https://www.transip.nl/knowledgebase/artikel/2083-sftp-voor-stack/

[stack]
type = sftp
host = ACCOUNT.stackstorage.com
pass = thisisnotmypassword
user = USERNAME@ACCOUNT
known_hosts_file = /config/rclone/ssh_known_hosts

The command you were trying to run (e.g. rclone copy /tmp remote:tmp)

rclone tree stack:/ -vv

A log from the command with the -vv flag (e.g. output from rclone -vv copy /tmp remote:tmp)

2021/05/30 16:34:15 DEBUG : rclone: Version "v1.56.0-beta.5530.df60e6323" starting with parameters ["rclone" "tree" "stack:/" "-vv"]
2021/05/30 16:34:15 DEBUG : Creating backend with remote "stack:/"
2021/05/30 16:34:15 DEBUG : Using config file from "/config/rclone/rclone.conf"
2021/05/30 16:34:16 DEBUG : pacer: low level retry 1/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain)
2021/05/30 16:34:16 DEBUG : pacer: Rate limited, increasing sleep to 200ms

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.
@ncw
Copy link
Member

ncw commented Jun 8, 2021

pass = thisisnotmypassword

Is the password in your config file obscured? That needs to be the output of

$ rclone obscure thisisnotmypassword
LNTT4Jc_tTTSn7so_trtmX1KDLSq528lowl0PS7ysXRGkNA

so

pass = LNTT4Jc_tTTSn7so_trtmX1KDLSq528lowl0PS7ysXRGkNA

@Kipjr
Copy link
Author

Kipjr commented Jun 8, 2021

It works, thanks! When I added the credentials in the GUI they are not hashed/encrypted. Shouldn't that be a bug?

@ncw
Copy link
Member

ncw commented Jun 10, 2021

It works, thanks! When I added the credentials in the GUI they are not hashed/encrypted. Shouldn't that be a bug?

Yes that sounds like a bug! Can you report it in the GUI issues new issue on Github.

@ncw
Copy link
Member

ncw commented Jun 10, 2021

Actually, I'll move this issue to the GUI project - don't make a new one!

@ncw ncw transferred this issue from rclone/rclone Jun 10, 2021
@ncw ncw changed the title Error couldn't connect SSH: ssh: handshake failed: ssh: unable to authenticate Password for SFTP connection needs to be obscured Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants