WebFaction
Community site: login faq
    Hi 
      i tired  to login with putty 
    Using username "cancer74".
    cancer74@50.97.173.18's password:
    Last login: Mon May 16 11:36:31 2016 from 117.241.108.150
    [cancer74@web462 ~]$ ~/.ssh
    -bash: /home/cancer74/.ssh: is a directory
    [cancer74@web462 ~]$ mkdir -p
    mkdir: missing operand
    Try `mkdir --help' for more information.
    [cancer74@web462 ~]$ mkdir -p $home/.ssh
    mkdir: cannot create directory `/.ssh': Permission denied
    [cancer74@web462 ~]$ ~/.ssh cd~/.ssh
    -bash: /home/cancer74/.ssh: is a directory
    [cancer74@web462 ~]$ ssh-keygen -t rsa
    Generating public/private rsa key pair.
    Enter file in which to save the key (/home/cancer74/.ssh/id_rsa):
    Enter passphrase (empty for no passphrase):
    Enter same passphrase again:
    Your identification has been saved in /home/cancer74/.ssh/id_rsa.
    Your public key has been saved in /home/cancer74/.ssh/id_rsa.pub.
    The key fingerprint is:
    99:c7:eb:4e:68:90:2e:f0:e6:22:7f:73:c1:2d:74:d5 cancer74@web462.webfaction.com
    The key's randomart image is:
    +--[ RSA 2048]----+
    |               . |
    |              . E|
    |             .   |
    |         =. .    |
    |      . Soo     |
    |       + o+o.    |
    |        = +o.    |
    |    . .+.+.     |
    |     o..o+o      |
    +-----------------+
    [cancer74@web462 ~]$ scp~/.ssh/id_rsa.pub cancer74@cancer74.webfaction.com:temp_
    -bash: scp~/.ssh/id_rsa.pub: No such file or directory
    [cancer74@web462 ~]$ $scp~/.ssh/2048_rsa.pub cancer74@cancer74.webfaction.com:temp_
    -bash: ~/.ssh/2048_rsa.pub: No such file or directory
    [cancer74@web462 ~]$ scp~/.ssh/2048_rsa.pub cancer74@50.97.173.18:temp_
    -bash: scp~/.ssh/2048_rsa.pub: No such file or directory
    [cancer74@web462 ~]$
    [cancer74@web462 ~]$ chmod 600~/.ssh
    chmod: missing operand after `600~/.ssh'
    Try `chmod --help' for more information.
    [cancer74@web462 ~]$ chmod 700
    chmod: missing operand after `700'
    Try `chmod --help' for more information.
    [cancer74@web462 ~]$ chmod 700~/.ssh
    chmod: missing operand after `700~/.ssh'
    Try `chmod --help' for more information.
    [cancer74@web462 ~]$ chmod 600 ~/.ssh/authorized_key
    chmod: cannot access `/home/cancer74/.ssh/authorized_key': No such file or directory
    [cancer74@web462 ~]$ chmod 700~/.ssh
    chmod: missing operand after `700~/.ssh'
    Try `chmod --help' for more information.
    [cancer74@web462 ~]$ chmod go-w $home
    chmod: missing operand after `go-w'
    Try `chmod --help' for more information.
    [cancer74@web462 ~]$



i have no idea about  it plase help me if any one  know solution

asked 16 May '16, 12:19

naveen20430
113
accept rate: 0%

edited 16 May '16, 12:22

Your prompt is showing that you are logging into the server: [cancer74@web462 ~]$

As for your commands, be sure to put a space between your commands. eg: chmod 700 ~/.ssh

(16 May '16, 14:53) bmeyer71 ♦♦

thanks for reply i do same process and also put spaces correct in commands but i am not getting correct solution

(17 May '16, 04:31) naveen20430

What you have pasted suggests that you have already logged into your account using a password.

If you are trying to set up passwordless authentication using SSH keys, you need to follow the steps at https://docs.webfaction.com/user-guide/access.html#index-3 if you are using Windows and PuTTY.

(17 May '16, 10:11) dimitari
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×103

question asked: 16 May '16, 12:19

question was seen: 1,488 times

last updated: 17 May '16, 10:11

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM