0
$ssh -f -N -D 0.0.0.0:80 localhost
Permission denied (publickey).

I don't have anything in my ~/.ssh directory.

I'm logged in as root.

Alex
  • 8,471
  • 26
  • 75
  • 99

1 Answers1

0

You need to create key pair first. do this:

ssh-keygen -t dsa
cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
ray
  • 471
  • 3
  • 3