本地ssh非标准端口时,连接github.com

针对公网上的服务器的检查,在日志中会发现大量针对22端口(ssh)的非法扫描。为了增强安全性,减少这些扫描,我们将服务器的ssh端口改成了一个非标准的端口。

这时,连接github时,会出现错误,无法连接:

#git pull
ssh: connect to host github.com port xxxxx: Connection refused
fatal: The remote end hung up unexpectedly

解决方法,编辑一个 ssh 的config文件:

$vim ~/.ssh/config
Host github.com
HostName github.com
Port 22

测试一下:

$ssh  -T git@github.com
Hi pubyun! You've successfully authenticated, but GitHub does not provide shell access.
$git pull
Current branch master is up to date.
此条目发表在DEVOPS分类目录。将固定链接加入收藏夹。

本地ssh非标准端口时,连接github.com》有 192 条评论

  1. Pingback引用通告: Google

  2. Pingback引用通告: gay hub

  3. Pingback引用通告: 1xbet ug

  4. Pingback引用通告: thrusting dildo

  5. Pingback引用通告: anal suppository

  6. Pingback引用通告: 메리트카지노

  7. Pingback引用通告: 우리카지노

  8. Pingback引用通告: how to enjoy g spot sex toys

  9. Pingback引用通告: Trans Hub Porn

  10. Pingback引用通告: xnxx

  11. Pingback引用通告: GayHub

  12. Pingback引用通告: french bulldog puppies for sale

  13. Pingback引用通告: Mining

  14. Pingback引用通告: MILF Porn

  15. Pingback引用通告: Online Advertising

  16. Pingback引用通告: singapore top broker

  17. Pingback引用通告: 샌즈카지노

  18. Pingback引用通告: 메리트카지노

  19. Pingback引用通告: AnaGlobal

  20. Pingback引用通告: voyage en cargo

  21. Pingback引用通告: cbd oil

  22. Pingback引用通告: best cbd gummies

  23. Pingback引用通告: cbd oil for dogs

  24. Pingback引用通告: best cbd gummies

  25. Pingback引用通告: prostate vibrating massager

  26. Pingback引用通告: white maeng da kratom

  27. Pingback引用通告: working visa

  28. Pingback引用通告: 코인카지노

  29. Pingback引用通告: buy cbd oil

  30. Pingback引用通告: software buy

  31. Pingback引用通告: Buy Real Weed Online Cheap

  32. Pingback引用通告: Mzadaty

  33. Pingback引用通告: BUY OPANA 40MG

  34. Pingback引用通告: masturbating

  35. Pingback引用通告: Kansas Fake driver's license

  36. Pingback引用通告: Can I buy Codeine online

  37. Pingback引用通告: kratom for sale

  38. Pingback引用通告: kratom for depression

  39. Pingback引用通告: 우리카지노

  40. Pingback引用通告: 퍼스트카지노

  41. Pingback引用通告: BIG CHIEF EXTRACTS

  42. Pingback引用通告: new no deposit casinos 2020

  43. Pingback引用通告: Google

  44. Pingback引用通告: yorkie puppies for sale

  45. Pingback引用通告: Manufacturing Recruitment Firm

  46. Pingback引用通告: safestore auto

  47. Pingback引用通告: free download for laptop

  48. Pingback引用通告: download full version pc games

  49. Pingback引用通告: apps download for windows 10

  50. Pingback引用通告: singapore divorce lawyer

  51. Pingback引用通告: mp3juice

  52. Pingback引用通告: New Mexico Fake driver's license

  53. Pingback引用通告: big canvas art

  54. Pingback引用通告: pure amphetamine

  55. Pingback引用通告: psilocybe cubensis grow kit usa

  56. Pingback引用通告: click here

  57. Pingback引用通告: Pc reparatur jona

  58. Pingback引用通告: thc vape juice

  59. Pingback引用通告: Herbal incense

  60. Pingback引用通告: canada online

  61. Pingback引用通告: Shoes

  62. Pingback引用通告: guns for sale near me

  63. Pingback引用通告: pinball machines for sale in michigan

  64. Pingback引用通告: euro modular buildings for sale

  65. Pingback引用通告: Canada Pharmacy Canada Pharmacy

  66. Pingback引用通告: definews

  67. Pingback引用通告: Buy Methyltrienolone Powder

  68. Pingback引用通告: canada drugstore

  69. Pingback引用通告: virtual visa card buy with bitcoin

  70. Pingback引用通告: virtual visa and MasterCard buy

  71. Pingback引用通告: Buy THC Vape Juice online Ireland

  72. Pingback引用通告: Mario kart Arcade Gp Dx

  73. Pingback引用通告: shipping container shop

  74. Pingback引用通告: Homes For Sale Belpre Ohio

  75. Pingback引用通告: Copper energy rings

  76. Pingback引用通告: buy cbd oils online usa

  77. Pingback引用通告: buy telegram bot script

  78. Pingback引用通告: buy delta 8

  79. Pingback引用通告: canadian pharmacies

  80. Pingback引用通告: delta 8 near me

  81. Pingback引用通告: BEST RACE HORSE SUPPLIMENTS

  82. Pingback引用通告: tele consultancy

  83. Pingback引用通告: guns for sale

  84. Pingback引用通告: buy heroin online UK

  85. Pingback引用通告: reddit crypto

  86. Pingback引用通告: Vidalista 20mg

  87. Pingback引用通告: canik tp9sf

  88. Pingback引用通告: san pedro cactus

  89. Pingback引用通告: buy guns online

  90. Pingback引用通告: siamese kittens for sale near me

  91. Pingback引用通告: How to disinfect your home and office

  92. Pingback引用通告: End Of Tenancy Cleaning Raynes Park

  93. Pingback引用通告: Guns for sale

  94. Pingback引用通告: Used Shipping Containers for Sale

  95. Pingback引用通告: Dank Vapes

  96. Pingback引用通告: Buy lsd gel tabs with PayPal online

  97. Pingback引用通告: buy a shipping container

  98. Pingback引用通告: 1 Ml Syringe, Blue Gloves

  99. Pingback引用通告: online cbd shop

  100. Pingback引用通告: counterfeit money for sale

  101. Pingback引用通告: Latex Free Gloves

  102. Pingback引用通告: mimosa hostilis root bark

  103. Pingback引用通告: kawasaki vulcan 900

  104. Pingback引用通告: buy dexedrine online

  105. Pingback引用通告: buy ritaline online uk

  106. Pingback引用通告: https aka ms remoteconnect code

  107. Pingback引用通告: burnaby bc

  108. Pingback引用通告: Nanimo SEO

  109. Pingback引用通告: panty

  110. Pingback引用通告: PHANTOM COOKIES FRIENDLY FARMS

  111. Pingback引用通告: seo-pr-clanky.cz

  112. Pingback引用通告: مهرجانات

  113. Pingback引用通告: find out more

  114. Pingback引用通告: موقع سكس

  115. Pingback引用通告: adult sex games

  116. Pingback引用通告: best strapon for pegging

  117. Pingback引用通告: bitcoin wallet card

  118. Pingback引用通告: bitcoin atm

  119. Pingback引用通告: in canada

  120. Pingback引用通告: SEO Marketing

  121. Pingback引用通告: time crisis 3 arcade machine for sale

  122. Pingback引用通告: Buy Opana 10 mg online

  123. Pingback引用通告: learn more

  124. Pingback引用通告: learn more

  125. Pingback引用通告: bullet vibrator

  126. Pingback引用通告: nasstoys male sex toys

  127. Pingback引用通告: Trijicon Acog

  128. Pingback引用通告: bàn học cho bé

  129. Pingback引用通告: free dating sites no credit card payment

  130. Pingback引用通告: Best Dildo

  131. Pingback引用通告: adult

  132. Pingback引用通告: umraniye zayif escort

  133. Pingback引用通告: bondage restraint toys

  134. Pingback引用通告: vibrator

  135. Pingback引用通告: נערות ליווי בחיפה

  136. Pingback引用通告: deuterium oxide

  137. Pingback引用通告: realistic dildo

  138. Pingback引用通告: large fast thrusting dildo

  139. Pingback引用通告: mobile homes for sale alpena mi

  140. Pingback引用通告: mobile repair services

  141. Pingback引用通告: porn

  142. Pingback引用通告: Mossberg 930 for sale

  143. Pingback引用通告: mobile homes for sale in westmoreland county pa

  144. Pingback引用通告: buy bizarre sex toys

  145. Pingback引用通告: first dildo

  146. Pingback引用通告: sex education

  147. Pingback引用通告: pharmacy canada

  148. Pingback引用通告: homemade pocket pussy

  149. Pingback引用通告: ar 15 rifle for sale

  150. Pingback引用通告: fn 509 tactical for sale

  151. Pingback引用通告: buy virtual card

  152. Pingback引用通告: escort istanbul maltepe

  153. Pingback引用通告: eskort bayan pendik

  154. Pingback引用通告: canadian pharmacy

  155. Pingback引用通告: order sig sauer firearms online

  156. Pingback引用通告: Dental only insurance Canada

  157. Pingback引用通告: best delta 8 gummies

  158. Pingback引用通告: slot online

  159. Pingback引用通告: cell phone repair in tustin

  160. Pingback引用通告: electric bikes

  161. Pingback引用通告: sex and mths values

  162. Pingback引用通告: lifelike dildo

  163. Pingback引用通告: kratom powder

  164. Pingback引用通告: anal butt plugs

  165. Pingback引用通告: wall mounted dildo

  166. Pingback引用通告: Hair Salons In Irvine

  167. Pingback引用通告: Weed for Sale

  168. Pingback引用通告: strap on sex toys

  169. Pingback引用通告: prostate toy

  170. Pingback引用通告: best vibrator

  171. Pingback引用通告: rechargeable vibrator

  172. Pingback引用通告: g spot massager

  173. Pingback引用通告: super bikes 2 arcade

  174. Pingback引用通告: pork belly for sale

  175. Pingback引用通告: THC Oil for Sale

  176. Pingback引用通告: GOLDEN RETRIEVER PUPPIES FOR SALE

  177. Pingback引用通告: PARROTS FOR SALE

  178. Pingback引用通告: Pound of Weed for Sale

  179. Pingback引用通告: Best software

  180. Pingback引用通告: Hanu Reddy Realty Login

  181. Pingback引用通告: ATTA MACHINE

  182. Pingback引用通告: buy kratom

  183. Pingback引用通告: best kratom capsules

  184. Pingback引用通告: buy real Instagram likes

  185. Pingback引用通告: kratom for sale

  186. Pingback引用通告: best delta 8

  187. Pingback引用通告: buy Instagram likes

  188. Pingback引用通告: best delta 8 THC vape cartridges

  189. Pingback引用通告: best delta 8 thc gummies

  190. Pingback引用通告: Apple phone repair

  191. Pingback引用通告: large sex toys

  192. Pingback引用通告: tides today at tides.today

评论功能已关闭。