hmngwy / weblog.sh

Blog from the Command Line
https://weblog.sh/
GNU General Public License v3.0
141 stars 8 forks source link

novice user account creation #34

Open githubgnulinux opened 8 years ago

githubgnulinux commented 8 years ago

Not sure if this is correct, but the instructions on the home page were not fully understood. Below is an attempt to create an account.

torsocks ssh [username]@weblog.sh key $(cat ~/.ssh/id_rsa.pub) cat: ~/.ssh/id_rsa.pub: No such file or directory

torsocks ssh -p 2222 [username]@weblog.sh key $(cat ~/.ssh/id_rsa.pub) cat: ~/.ssh/id_rsa.pub: No such file or directory The authenticity of host '[weblog.sh]:2222 ([52.89.106.5]:2222)' can't be established. RSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '[weblog.sh]:2222,[52.89.106.5]:2222' (RSA) to the list of known hosts. … Registering user → You need to provide a key.

cat > ~/.ssh/id_rsa.pub ...

torsocks ssh -p 2222 [username]@weblog.sh key $(cat ~/.ssh/id_rsa.pub) key_load_public: invalid format … Registering user ✓ Account created, do not forget your password. → Random password set:

...

→ You can reset your public key later using:

ssh ...@localhost key $(cat ~/.ssh/id_rsa.pub)

→ Save files with the extension .md to post in markdown, .txt or none otherwise.

→ By using this service you agree to our License, Terms of Service, and Privacy Policy.

GPLV3 License: https://goo.gl/93VKiw Terms of Service: https://weblog.sh/terms Privacy Policy: https://weblog.sh/privacy

githubgnulinux commented 8 years ago

When trying to change the password, the response is:

key_load_public: invalid format

hmngwy commented 8 years ago

key_load_public: invalid format

This is foreign to me. Is your key in RSA? Can you tell me how to replicate this?

githubgnulinux commented 8 years ago

There are no extra replication instructions except for those in the original post.

Just tried to sign-in and password was rejected.

$ torsocks ssh [user]@weblog.sh key $cat ~/.ssh/id_rsa.pub key_load_public: invalid format [user]@weblog.sh's password: Permission denied, please try again.