rorflexsin

Tuesday, 21 April 2015

copy ssh key on server

cat ~/.ssh/id_rsa.pub | ssh <user>@<hostname> 'cat >> .ssh/authorized_keys && echo "Key copied"'
Posted by Unknown at 02:18
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Unknown
View my complete profile

Blog Archive

  • ▼  2015 (13)
    • ►  December (1)
    • ►  November (1)
    • ►  May (1)
    • ▼  April (10)
      • css problem with activeadmin in rails
      • Devise user authentication in rspec
      • render html in pdf in and then sent it as atachmen...
      • copy ssh key on server
      • Install Redis on Amazon EC2 Linux AMI or CentOS
      • install ruby on rails and nginx on Amazon Linux AMI
      • clear all tables data in one command in ruby on rails
      • Elasticsearch on Rails
      • facebook share button with custom title, descripti...
      • How to select last record from each day with MySQL
Awesome Inc. theme. Powered by Blogger.