博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ssh connect no route
阅读量:7112 次
发布时间:2019-06-28

本文共 1081 字,大约阅读时间需要 3 分钟。

hot3.png

###配置ssh

local:~ yourname$ ssh-keygen -t rsa    Generating public/private rsa key pair.    Enter file in which to save the key (/u/kim/.ssh/id_rsa):  【回车】    Enter passphrase (empty for no passphrase): 【直接回车】    Enter same passphrase again:  【直接回车】

###新建一个config

Host bitbucket.orgHostname  altssh.bitbucket.orgPort  443

###查看rsa

ls -ltrtotal 32-rw-r--r--  1 knight.lu  staff   410 Nov  7 14:22 id_rsa.pub-rw-------  1 knight.lu  staff  1679 Nov  7 14:22 id_rsa-rw-r--r--  1 root       staff    60 Nov  7 14:33 config-rw-r--r--  1 knight.lu  staff  2147 Nov  7 14:34 known_hosts

###将id_rsa.pub添加到公钥

cat id_rsa.pub

###测试

ssh -T git@bitbucket.org如果显示(yes/no)表示已经可以使用bitbucket了

###引用

[19:16:16]: There are no local code signing identities found.You can run `security find-identity -v -p codesigning` to get this output.This Stack Overflow thread has more information: https://stackoverflow.com/q/35390072/774.(Check in Keychain Access for an expired WWDR certificate: https://stackoverflow.com/a/35409835/774 has more info.)

###ssh安全参考

转载于:https://my.oschina.net/kshopping/blog/783116

你可能感兴趣的文章
判断一个数是否为回文数,字符串是否为回文字符串
查看>>
Windows Live Writer 2009 客户端离线写51CTO博客
查看>>
date_default_timezone_set的问题
查看>>
不安装oracle客户端,用plsql连接oracle
查看>>
使用PowerDesigner去除Oracle建表脚本的双引号
查看>>
向前,向前
查看>>
让孩子爱上学习-获取安卓
查看>>
[iOS Animation]CALayer-图层时间 二
查看>>
更新日志 - fir.im 回归,上线 Android Studio 插件
查看>>
血性的青,尿性的春——《中国合伙人》影评
查看>>
我的友情链接
查看>>
vCenter Server 5.0升级到5.5
查看>>
单引号与双引号区别
查看>>
spring遇到的异常整理
查看>>
我的友情链接
查看>>
解决:Disk /dev/sdb doesn't contain a valid partition table
查看>>
C++内存分配方式详解——堆、栈、自由存储区、全局/静态存储区和常量存储区...
查看>>
linux下的date详解
查看>>
Myeclipse创建Maven Project 报找不到依赖包错误的解决办法
查看>>
微信营销那些事
查看>>