Warning: include_once(/home/sites/heteml/users/m/o/r/moriya-h5/web/confrage/bin/top_msg.php): failed to open stream: No such file or directory in /home/users/2/moriya-h5/web/confrage/linux/CentOS/vsftpd/winscp/winscp.html on line 21
Warning: include_once(): Failed opening '/home/sites/heteml/users/m/o/r/moriya-h5/web/confrage/bin/top_msg.php' for inclusion (include_path='.:/usr/local/php/5.6/lib/php') in /home/users/2/moriya-h5/web/confrage/linux/CentOS/vsftpd/winscp/winscp.html on line 21
目次 |
---|
・FTPの問題点 ・WinSCPを使用する ・秘密鍵の作成 ・公開鍵の作成 ・WinSCPの設定 |
[root@os~]# mkdir -p /home/centos/.ssh [root@os~]# chmod 700 /home/centos/.ssh/上記で作成したディレクトリに公開鍵をFTPなどでサーバにおきます。ここではファイル名をpub_keyとします。
[root@os~]# chmod 600 /home/centos/.ssh/pub_key [root@os~]# chown -R centos. /home/centos/.ssh/これで公開鍵の設定は終わりです。