端末・サーバー
ロリポップは標準ではssh接続できません。
SSH接続するためだけにライトプランにグレードアップさせました。
ターミナルでSSH設定方法(Mac)
ターミナル
~ % ssh main.jp-[ドメイン名]@ssh.lolipop.jp -p 2222
The authenticity of host '[ssh.lolipop.jp]:2222 ([xxx.xxx.xx.xxxx]:ポート)' can't be established.
RSA key fingerprint is SHA256:[RSAキー].
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
yesと入力します。
ターミナル
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[ssh.lolipop.jp]:2222' (RSA) to the list of known hosts.
main.jp-[ドメイン名]@ssh.lolipop.jp's password:
client_global_hostkeys_prove_confirm: server gave bad signature for RSA key 0: incorrect signature
[main.jp-[ドメイン名]@std021 ~]$
色々コマンド入力してみました。
普通のローカルディレクトリのように使えます。
ターミナル
[main.jp-[ドメイン名]@std021 ~]$ ls
web
[main.jp-[ドメイン名]@std021 ~]$ cd web
[main.jp-[ドメイン名]@std021 web]$ ls
index.html
