1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Espressoで秘密鍵を使ってSFTP接続する方法

Posted at

Mac環境で動作するテキストエディタ「Espresso」では秘密鍵を使ってのサーバへのSFTP接続が可能です。その方法をご紹介します。

秘密鍵/公開鍵の生成

これは省略します。適当にググってみてください。

秘密鍵の登録

ターミナル上で以下のコマンドを打ちます。

ssh-add -K /path/to/your/key/file

/path/to/your/key/file には秘密鍵へのパスを書いてください。

Espressoの設定

下のように設定します。サーバ名とユーザ名を指定します。パスワードは必要ありません。

![EspressoのSFTP設定](http://f.cl.ly/items/20361R0C2F2G2Z1t1A0K/Project Settings — sample-1.jpg)

これだけです

設定はこれで終わりです!早速接続してみましょう。
あとはEspressoが接続時に適した秘密鍵をきちんと判断してくれます。パスフレーズが必要な場合はダイアログが出てくるかもしれません。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?