2017년 6월 23일 금요일

fedora winscp...sftp connect method...

hint..-> site
https://superuser.com/questions/521335/how-to-turn-on-sftp-in-fedora-17
 
[root@localhost ~]#
[root@localhost ~]# /sbin/service vsftpd status
Redirecting to /bin/systemctl status  vsftpd.service
● vsftpd.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# yum install vsftpd
Yum command has been deprecated, redirecting to '/usr/bin/dnf install vsftpd'.
See 'man dnf' and 'man yum2dnf' for more information.
To transfer transaction metadata from yum to DNF, run:
'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'

Last metadata expiration check performed 0:00:26 ago on Sat Jun 24 08:54:18 2017.
Dependencies resolved.
================================================================================
 Package         アーキテクチャ  バージョン               リポジトリー     容量
================================================================================
インストールしています:
 vsftpd          x86_64          3.0.2-13.fc22            fedora          172 k

トランザクションの要約
================================================================================
インストール  1 Package

総ダウンロード容量: 172 k
インストール済み容量: 348 k
これでいいですか? [y/N]y
パッケージをダウンロードしています:
vsftpd-3.0.2-13.fc22.x86_64.rpm                 463 kB/s | 172 kB     00:00   
--------------------------------------------------------------------------------
合計                                             26 kB/s | 172 kB     00:06    
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  インストールしています: vsftpd-3.0.2-13.fc22.x86_64                       1/1
  Verifying             : vsftpd-3.0.2-13.fc22.x86_64                       1/1

インストール:
  vsftpd.x86_64 3.0.2-13.fc22                                                  

完了しました!
[root@localhost ~]# /sbin/service vsftpd start
Redirecting to /bin/systemctl start  vsftpd.service
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# iptables -I INPUT -p tcp -m state --state NEW --dport 22 -j ACCEPT
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# service sshd restart
Redirecting to /bin/systemctl restart  sshd.service

[root@localhost ~]#

댓글 없음:

댓글 쓰기