window linux 檔案傳輸

來源:互聯網
上載者:User

標籤:depend   deb   desktop   pictures   ubuntu   ports   linux   templates   pack   

window 安裝:
pscp.exe (放在C:\Windows\System32 目錄下)


Linux 安裝:

1: 先更新apt-get
[email protected]:/home/ubuntu# sudo apt-get update
有報錯的話需要修改vi /etc/apt/sources.list

deb http://old-releases.ubuntu.com/ubuntu/ raring main universe restricted multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring main universe restricted multiverse
deb http://old-releases.ubuntu.com/ubuntu/ raring-security main universe restricted multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-security main universe restricted multiverse
deb http://old-releases.ubuntu.com/ubuntu/ raring-updates main universe restricted multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-updates main universe restricted multiverse
deb http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse

 


 

2: 安裝openssh-server:
[email protected]:/home/ubuntu# apt-get install openssh-server
安裝報錯資訊:
The following packages have unmet dependencies:
 openssh-server : Depends: openssh-client (= 1:6.1p1-4) but 1:6.6p1-8 is to be installed
E: Unable to correct problems, you have held broken packages.

降級:openssh-client=1:6.1p1-4 完之後在安裝 openssh-serve
[email protected]:/home/ubuntu# apt-get install openssh-client=1:6.1p1-4

啟用ssh
[email protected]:/home/ubuntu# ps -e |grep ssh
[email protected]:/home/ubuntu# service ssh start
ssh start/running, process 13993
[email protected]:/home/ubuntu# ps -e |grep ssh
13993 ?        00:00:00 sshd


window:
D:\>pscp save\virtualenv-15.1.0.tar.gz [email protected]:/home/ubuntu
[email protected]‘s password:
Access denied
roo[email protected]‘s password:
virtualenv-15.1.0.tar.gz  | 1820 kB | 364.1 kB/s | ETA: 00:00:00 | 100%

 


 

Linux:
[email protected]:/home/ubuntu# ls
Desktop  Documents  Downloads  examples.desktop  Music  Pictures  Public  Templates  test1.txt  test2.txt  Videos  virtualenv-15.1.0.tar.gz
[email protected]:/home/ubuntu#

 

window linux 檔案傳輸

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.