当加载 ssh-add 一个老key不成功的时候
bash-3.2$ ssh-add ~/.ssh/dean
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0777 for '/Users/dean/.ssh/dean' are too open.
是因为id_rsa的权限太高了,复制过来的可能是777,解决方式如下:
bash-3.2$ chmod 700 *
bash-3.2$ ll -ls
bash: ll: command not found
bash-3.2$ ls -l
total 64
-rwx------@ 1 dean staff 126 5 13 00:52 config
-rwx------ 1 dean staff 1675 3 27 02:52 dean
-rwx------ 1 dean staff 1464 3 27 02:52 dean.ppk
-rwx------ 1 dean staff 412 3 27 02:52 dean.pub
-rwx------ 1 dean staff 6430 5 12 21:14 known_hosts
-rwx------ 1 dean staff 1675 6 2 2016 test
-rwx------ 1 dean staff 410 6 2 2016 test.pub
权限改后 可以加载成功
bash-3.2$ ssh-add ~/.ssh/dean
Identity added: /Users/dean/.ssh/dean (/Users/dean/.ssh/dean)
分享到:
相关推荐
rootroot@rootroot-E400:~/wyb/ap6212a0_a33_sc3817r/lichee$ ./build.sh config Welcome to mkscript setup progress All available chips: 0. sun8iw5p1 Choice: 0 All available platforms: 0. android 1. ...
rootroot@rootroot-E400:~/wyb/ap6212a0_a33_sc3817r/lichee$ ./build.sh config Welcome to mkscript setup progress All available chips: 0. sun8iw5p1 Choice: 0 All available platforms: 0. android 1. ...
# after setting up the capabilities required for WEXT # user wifi # group wifi inet keystore class main socket wpa_wlan0 dgram 660 wifi wifi disabled oneshot # 1.2 realtek & eagle wifi sta p2p...
./.git/config: url = ssh://CityBrand@61.143.53.198/git_repo/R58/device/softwinner/octopus-perf.git ./.git/config: projectname = device/softwinner/octopus-perf 对于git文件,直接删除。 wenyuanbo@cm-...
./.git/config: url = ssh://CityBrand@61.143.53.198/git_repo/R58/device/softwinner/octopus-perf.git ./.git/config: projectname = device/softwinner/octopus-perf 对于git文件,直接删除。 wenyuanbo@cm-...
[root@yun alien]# ./alien.pl You must specify a file to convert. Usage: alien [options] file [...] file [...] Package file or files to convert. -d, --to-deb Generate a Debian deb package (default)...
资源来自pypi官网。 资源全名:serious-django-permissions-0.14.tar.gz
资源分类:Python库 所属语言:Python 资源全名:django-simple-permissions-0.6.0.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
python库。资源全名:drf-triad-permissions-0.1.0.tar.gz
python库。资源全名:django-scoped-permissions-0.0.3.tar.gz
资源来自pypi官网。 资源全名:djangorestframework-fine-permissions-0.5.1.tar.gz
资源来自pypi官网。 资源全名:drf-action-permissions-0.1.1.tar.gz
ssh-keygen -t rsa touch /root/.ssh/authorized_keys cp /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys ssh-copy-id -i spark3 3、JDK1.7 4、MobaXterm 5、hadoop2.4.1 tar -zxvf hadoop2.4.2.tar.gz mv ...
AWS亚马逊ssh登录失败 Permissions 0644 for .pem are too open ssh -i yourPath/yourPrivateKey.pem ec2-user@yourAwsAddress.compute.amazonaws.com Warning: Permanently added 'yourAwsAddress.compute.amazon...
(干掉BT部分)frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml 开启ADB,方便调试: PRODUCT_PROPERTY_OVERRIDES += \ persist.sys.usb....
Get My MSL will give you your MSL code without the need to use adb shell or have a terminal app installed.This version requires INTERNET permissions because it allows the user to decide if they would...
资源来自pypi官网。 资源全名:django-permissions-policy-4.6.0.tar.gz
解决fatal:remote error:You can’t push to git://github....今天Git push的时候 fatal:remote error: ...看来我是没有权限push啊。 解决方法: ...git remote add origin git@github.com:username/resname.git 接
MIDlet-Permissions: javax.microedition.io.Connector.http MIDlet-Description: MemoryUp Pro - Mobile RAM Booster (2009 Handango C hampionship Award - Best Phone Tool)由yueryo汉化分享
# See the License for the specific language governing permissions and # limitations under the License. # -include hardware/broadcom/wlan/bcmdhd/config/config-bcm.mk WIFI_DRIVER_FW_PATH_STA := "/...