/bin/rm: cannot remove `libtoolT’: No such file or directory 解决方案
2011-12-23 15:31
495 查看
For those who are trying out Heroku for the first time, and have not set up their Mac for keypair authentication, here is what you need to do in order to generate ssh public keys.
If you keep seeing this:
$ heroku create
Enter your Heroku credentials.
Email:
Password:
No ssh public key found in /Users/apple/.ssh/id_[rd]sa.pub. You may want to specify the full path to the keyfile.
1. Generate RSA key:
$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/mike/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Your identification has been saved in /Users/mike/.ssh/id_rsa.
Your public key has been saved in /Users/mike/.ssh/id_rsa.pub.
The key fingerprint is:
The key's randomart image is:
2. Generate DSA key:
$ ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/Users/mike/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Your identification has been saved in /Users/mike/.ssh/id_dsa.
Your public key has been saved in /Users/mike/.ssh/id_dsa.pub.
The key fingerprint is:
The key's randomart image is:
3. Create your Heroku app:
$ heroku create
Enter your Heroku credentials.
Email:
Password:
Uploading ssh public key /Users/mike/.ssh/id_rsa.pub
Created http://myapp.heroku.com/ | git@heroku.com:myapp.git
Git remote heroku added
Viola! This applies for any situation requiring ssh keys – sftp access, capistrano deployment, etc.
If you keep seeing this:
$ heroku create
Enter your Heroku credentials.
Email:
Password:
No ssh public key found in /Users/apple/.ssh/id_[rd]sa.pub. You may want to specify the full path to the keyfile.
1. Generate RSA key:
$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/mike/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Your identification has been saved in /Users/mike/.ssh/id_rsa.
Your public key has been saved in /Users/mike/.ssh/id_rsa.pub.
The key fingerprint is:
The key's randomart image is:
2. Generate DSA key:
$ ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/Users/mike/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Your identification has been saved in /Users/mike/.ssh/id_dsa.
Your public key has been saved in /Users/mike/.ssh/id_dsa.pub.
The key fingerprint is:
The key's randomart image is:
3. Create your Heroku app:
$ heroku create
Enter your Heroku credentials.
Email:
Password:
Uploading ssh public key /Users/mike/.ssh/id_rsa.pub
Created http://myapp.heroku.com/ | git@heroku.com:myapp.git
Git remote heroku added
Viola! This applies for any situation requiring ssh keys – sftp access, capistrano deployment, etc.
相关文章推荐
- /bin/rm: cannot remove `libtoolT’: No such file or directory 解决方案
- /bin/rm: cannot remove `libtoolT’: No such file or directory 解决方案
- /bin/rm: cannot remove `libtoolT’: No such file or directory 解决方案
- /bin/rm: cannot remove `libtoolT’: No such file or directory 解决方案
- /bin/rm: cannot remove `libtoolT’: No such file or directory 解决方案
- /bin/rm: cannot remove `libtoolT’: No such file or directory 解决方案
- MYsql 5.1 安装过程报错 /bin/rm: cannot remove `libtoolT': No such file or directory
- 安装插件libxstl遇到的/bin/rm: cannot remove `libtoolT’: No such file or directory
- Could not compile libxml2: /bin/rm: cannot remove `libtoolT': No such file or directory
- /bin/rm: cannot remove `libtoolT': No such file or directory
- /bin/rm: cannot remove `libtoolT': No such file or directory
- 【转】Centos 安装libxml2 "bin/rm: cannot remove `libtoolT': No such file or directory
- rm: cannot remove `libtoolT': No such file or directory 安装Apr出现的问题
- rm: cannot remove `libtoolT': No such file or directory 安装Apr出现的问题
- Centos 6.5 编译安装 apr-1.5.2 rm: cannot remove `libtoolT': No such file or directory
- 编译APR包的时候出现 rm: cannot remove `libtoolT': No such file or directory
- [apr] rm: cannot remove `libtoolT’: No such file or directory
- [apr] rm: cannot remove `libtoolT': No such file or directory
- rm: cannot remove `libtoolT': No such file or directory
- Linux安装apache时 apr报错解决 rm: cannot remove `libtoolT': No such file or directory