{"author_url":"https://blog.hatena.ne.jp/h5y1m141/","author_name":"h5y1m141","categories":["osx","Linux"],"type":"rich","blog_title":"40\u6b73\u304b\u3089\u306e\u30ad\u30e3\u30ea\u30a2\u30c1\u30a7\u30f3\u30b8","url":"https://h5y1m141.hatenablog.com/entry/20110803/p1","version":"1.0","title":"Virtual Box\u4e0a\u306eDebian\u306b\u516c\u958b\u9375\u8a8d\u8a3c\u3067ssh\u3059\u308b","width":"100%","published":"2011-08-03 00:00:00","height":"190","provider_name":"Hatena Blog","blog_url":"https://h5y1m141.hatenablog.com/","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fh5y1m141.hatenablog.com%2Fentry%2F20110803%2Fp1\" title=\"Virtual Box\u4e0a\u306eDebian\u306b\u516c\u958b\u9375\u8a8d\u8a3c\u3067ssh\u3059\u308b - 40\u6b73\u304b\u3089\u306e\u30ad\u30e3\u30ea\u30a2\u30c1\u30a7\u30f3\u30b8\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","description":"\u305d\u308c\u306a\u308a\u306bLinux\u306e\u3053\u3068\u306f\u52c9\u5f37\u3057\u3066\u308f\u304b\u3063\u3066\u3044\u305f\u3064\u3082\u308a\u306a\u306e\u3067\u3059\u304c\u3001\u3061\u3087\u3044\u3061\u3087\u3044\u306f\u307e\u3063\u305f\u306e\u3067\u30e1\u30e2 \u307e\u305a\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u3067\u304d\u308b\u304b\u78ba\u8a8d VirtualBox\u4e0a\u3067\u52d5\u4f5c\u3055\u305b\u3066\u3044\u308bDebian\u3067\u3059\u304c BoxManage modifyvm \"debian\" --natpf1 \"guestssh,tcp,,50022,,22\" \u3068\u3044\u3046\u611f\u3058\u306e\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c9\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u30db\u30b9\u30c8\u3068\u306a\u308bMac\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u3067 ssh - 50022 localhost \u203b2011\u5e749\u670812\u65e5 \u4e0a\u8a18\u3060\u3068\u30dd\u30fc\u30c8\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u30b3\u30de\u30f3\u30c9\u3068\u3057\u3066\u6b63\u3057\u304f\u306a\u304b\u3063\u305f\u3067\u3059\u306d\u3002\u3002\u6b63\u3057\u304f\u306f\u3053\u3046\u2193\u3067\u3057\u305f ssh -p 50022 localhost\u2026"}