以下の内容はhttps://yohei-a.hatenablog.jp/entry/20240401/1711933684より取得しました。


sftp でパスワード認証を有効にする

[root@ip-172-31-29-44 ~]# passwd ec2-user
Changing password for user ec2-user.
New password: 
Retype new password: 
passwd: all authentication tokens updated successfully.
  • パスワード認証を許可する
[root@ip-172-31-29-44 ~]# vi /etc/ssh/sshd_config
PasswordAuthentication yes
[root@ip-172-31-29-44 ~]# systemctl restart sshd
  • sftp で接続する
% sftp ec2-user@ec2-**-***-***-**.ap-northeast-1.compute.amazonaws.com
ec2-user@ec2-**-***-***-**.ap-northeast-1.compute.amazonaws.com's password: 
Connected to ec2-**-***-***-**.ap-northeast-1.compute.amazonaws.com.
sftp> ls
test.txt  
sftp> 



以上の内容はhttps://yohei-a.hatenablog.jp/entry/20240401/1711933684より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14