タグ

sshに関するJxckのブックマーク (20)

  • The Story of Getting SSH Port 22

    How SSH port became 22 The default SSH port is 22. It is not a coincidence. This is a story of how it got that port. When I (Tatu Ylonen first published this story in April 2017, it went viral and got about 120,000 readers in three days. The story of getting SSH port 22 I wrote the initial version of SSH (Secure Shell) in Spring 1995. It was a time when telnet and FTP were widely used. Anyway, I d

    The Story of Getting SSH Port 22
    Jxck
    Jxck 2017/04/24
    なんで SSH のポートが 22 になったか
  • Mac OSX keeps prompting SSH key passphrase, does not use KeyChain

    Mac OSX keeps prompting SSH key passphrase, does not use KeyChain Want to help support this blog? Try out Oh Dear, the best all-in-one monitoring tool for your entire website, co-founded by me (the guy that wrote this blogpost). Start with a 10-day trial, no strings attached. We offer uptime monitoring, SSL checks, broken links checking, performance & cronjob monitoring, branded status pages & so

    Mac OSX keeps prompting SSH key passphrase, does not use KeyChain
    Jxck
    Jxck 2017/01/05
    Mac の SSH 最近パスフレーズ聞かれると思ったらこれだったのか
  • .ssh/configを管理する .ssh/configで管理する

    PHPカンファレンス2016

    .ssh/configを管理する .ssh/configで管理する
    Jxck
    Jxck 2016/11/04
  • 最強のSSH踏み台設定 - Qiita

    追記:openssh-7.3 以降なら ProxyJump や -J が使えます ホスト名を + で繋げることで多段Proxy接続も簡単に、がコンセプトだったエントリの設定ですが、OpenSSH 7.3 から ProxyJump という設定が使えるようになったので、使えるなら ProxyJump を使う方が健全だし柔軟で使い勝手も良いのでそちらを覚えて帰ることをオススメします。 使い方は簡単で以下のような感じです。多段も行けるし、踏み台ホスト毎にユーザ名やポート番号を変えることも出来ます。 # 1. bastion.example.jp -> internal.example.jp ssh -J bastion.example.jp internal.example.jp # 2. bastion.example.jp -> internal.example.jp -> super-de

    最強のSSH踏み台設定 - Qiita
    Jxck
    Jxck 2015/10/15
  • ssh越しにAtom他GUIエディタを使いたい?それ、同期ツールunisonでできるよ - Qiita


    EC2Amazon LinuxRDS使EC2 EC2Atom使 VimEmacsCUI  ssh Mac  rsyncscp sshfs使 sshGit使 Atom使使 
    ssh越しにAtom他GUIエディタを使いたい?それ、同期ツールunisonでできるよ - Qiita
    Jxck
    Jxck 2015/08/04
    ローカルと ssh 先のファイル同期。
  • https://mrtc0.github.io/slides/ltdd-16-ssh-auth.html

    Jxck
    Jxck 2015/07/06
  • SSF - Secure Socket Funneling - Network tool - TCP and UDP port forwarding, SOCKS proxy, Remote shell, Native Relay protocol, Standalone

    Secure Socket Funneling (SSF) is a network tool and toolkit. It provides simple and efficient ways to forward data from multiple sockets (TCP or UDP) through a single secure TLS link to a remote computer. The initial aim of SSF was to provide an easy way for users and developers to multiplex and demultiplex various network data flows. It was designed to: be cross platform (Windows XP-10, Linux, OS

    SSF - Secure Socket Funneling - Network tool - TCP and UDP port forwarding, SOCKS proxy, Remote shell, Native Relay protocol, Standalone
    Jxck
    Jxck 2015/06/09
    TCP/UDP を一本の TLS にまとめるらしい。なんか便利そうだ。
  • Auditing GitHub users' SSH key quality

    If you have just/as of late gotten an email about your keys being revoked, this is because of me, and if you have, you should really go through and make sure that no one has done anything terrible to you, since you have opened yourself to people doing very mean things to you for what is most likely a very long time. A little known feature of GitHub is the ability to look at the public SSH keys tha

    Auditing GitHub users' SSH key quality
  • ログアウトしてもバックグラウンド ジョブを継続する方法

    はじめに SSH 接続で時間の掛かるシェルスクリプトをバックグラウンドで走らせて帰りたいのに、SSH 接続を切るとジョブが死んでしまいます。SSH 接続に限らず目の前の OS からログアウトしたりターミナル エミュレータを終了しても同じ現象が起こります。 この症状は正常です。なぜなら、バックグラウンド ジョブを起動したプロセス(ログイン シェル)が子プロセスである該当のバックグラウンドジョブをハングアップ シグナル( HUP )によって終了させるからです。 シェルスクリプトを起動した親プロセスは子プロセスの終了状態を監視しています。ですからログアウトして親プロセスであるシェルが終了すると子プロセスはゾンビ プロセスとなってしまうので親プロセスとなるシェル(ログインシェル)は子プロセスであるバックグラウンド ジョブを kill ( kill -HUP ) するのです。 nohup コマンド

    ログアウトしてもバックグラウンド ジョブを継続する方法
    Jxck
    Jxck 2015/04/14
  • インフラエンジニアじゃなくても押さえておきたいSSHの基礎知識 - Qiita


     SSH VagrantVMSSH使 SSHSSH SSH  SSHTelnet1 
    インフラエンジニアじゃなくても押さえておきたいSSHの基礎知識 - Qiita
    Jxck
    Jxck 2015/03/09
  • OSXでECDSA鍵を作ろう - リア充爆発日記


    http://d.hatena.ne.jp/hnw/20140705 ECDSA 256bitRSA3072bit256bit  $ ssh-keygen -t ecdsa -b 256 unknown key type ecdsa 使PCMac sshupdate調 http://www.dctrwatson.com/2013/07/how-to-u
    OSXでECDSA鍵を作ろう - リア充爆発日記
    Jxck
    Jxck 2014/09/30
    新しい鍵作るからせっかくだし ecdsa で作ってみるかと思ったらできず、まだ mac では標準では作れないらしい。
  • GitHubユーザーのSSH鍵6万個を調べてみた - hnwの日記


    2015/1/30 github.comEd25519 2016/5/31 GitHub$500GitHub GitHub APIGitHub31661SSH64404*1 SSH    RSA 61749 (95.88%) DSA 2647 (4.11%) ECDSA 8 (0.01%) 68ECDSADSA
    GitHubユーザーのSSH鍵6万個を調べてみた - hnwの日記
    Jxck
    Jxck 2014/07/05
    この方きっと、間違って秘密鍵上げてた人も見てると思うんだけど、その数字はどんなもんだったんだろ。 1% くらいいそうな気がしている。
  • Top 20 OpenSSH Server Best Security Practices

    OpenSSH is the implementation of the SSH protocol. OpenSSH is recommended for remote login, making backups, remote file transfer via scp or sftp, and much more. SSH is perfect to keep confidentiality and integrity for data exchanged between two networks and systems. However, the main advantage is server authentication, through the use of public key cryptography. From time to time there are rumors

    Top 20 OpenSSH Server Best Security Practices
    Jxck
    Jxck 2013/08/01
  • SSH Tips & Tricks

    勉強会向けサーバを作ってみる2 / Rasbian jessieを試す/ Google Authenticatorのパスコードを作るKenichiro MATOHARA

    SSH Tips & Tricks
    Jxck
    Jxck 2012/12/02
  • netcatを使って踏み台を踏む手順を省く - さよならインターネット

    拝啓 全国1億5千万の踏み台サーバ好きのみなさま 元気に踏み台サーバを踏まれているでしょうか。 社内で利用していながらよく理解していなかったので 改めてカジュアルに学び直したメモを書いておきます。 参考 sshのProxyCommandでnc使うときは-w SEC忘れないようにね! URL 2012-09-14 12:46:02 via atig.rb クラアント -> 踏み台サーバ -> 対象サーバという時に、毎回踏み台サーバに入って、対象サーバに入るのは面倒くさいので 「~/.ssh/config」へ Host fumidai Hostname 203.0.113.1 User kenjiskywalker Host hoge-web01 Hostname 203.0.113.101 User kenjiskywalker ProxyCommand ssh fumidai nc -w

    Jxck
    Jxck 2012/09/17
    踏み台サーバ
  • tmux で pbcopy - unknownplace.org

    デフォルトだと動かないのでなんか変なラッパーを挟むのがスタンダードな方法みたいですが、たまにしか使わないのにそんな無駄なことしたくないと、 # tmux if [[ "$TMUX" != "" ]] then alias pbcopy="ssh 127.0.0.1 pbcopy" alias pbpaste="ssh 127.0.0.1 pbpaste" fi としてしのいでいる。僕の使用頻度だとこれで十分ぽい。

    Jxck
    Jxck 2012/06/05
    おー凄い!!これで勝つる!!
  • SSH力をつけよう

    OSSセキュリティ技術の会 第二回勉強会 https://secureoss-sig.connpass.com/event/69314/

    SSH力をつけよう
    Jxck
    Jxck 2012/05/30
    SSH のまとめ資料。
  • mosh: MITからモバイル時代のSSH代替品 - karasuyamatenguの日記


    http://mosh.mit.edu/    SSH iPhone/iPadSSH IP       SSH SSHinetd使
    mosh: MITからモバイル時代のSSH代替品 - karasuyamatenguの日記
    Jxck
    Jxck 2012/04/12
  • 使えるとちょっと便利なSSHのTIPS


    9 1 SSHTIPS . SSH使 /.ssh/config使 SSH xxx.yyy.zzz.aaa使id_rsa_test .ssh/config Host xxx.yyy.zzz.aaa IdentityFile /home/asial/.ssh/id_rsa_test .  LinuxSSH
    使えるとちょっと便利なSSHのTIPS
    Jxck
    Jxck 2012/04/06
  • sshを使いこなすための7つの設定 - 射撃しつつ前転 改

    五月病が抜け切らないIT系新入社員に贈るシリーズ第1段。 ~/.ssh/configにはいろいろな設定が書けるが、周囲を見渡した限り、あまり活用されているようには見受けられない。そこで、今回は便利な設定をいくつか集めてみた。 長いホスト名に短い名前をつける Host exp1 HostName verrrryyy.looooong.hostname.example.jp ssh verrrryyy.looooong.hostname.example.jpの代わりにssh exp1でログインできるようになる。 ちなみに、zshの場合、configファイルに登録されたホスト名はsshコマンドを打つときに補完されるので更に便利。 特定のホストへログインするときのユーザ名や鍵をカスタマイズする Host github.com User tkng IdentityFile ~/.ssh/id_rsa

    sshを使いこなすための7つの設定 - 射撃しつつ前転 改
    Jxck
    Jxck 2011/06/07
  • 1