close


關鍵細節總在文件中
dotcloud的help寫的分常詳細


DotCloud Documentation
http://docs.dotcloud.com/guides/copy/

Generic SSH (scp, rsync...)

If you are used to scp or rsync, you can also setup a SSH configuration file to use direct SSH connection to your service. Here is how.

  1. Retrieve the SSH parameters (user, host, and port) of your service, using dotcloud info myapp.myservice.

  2. Append the following section to your ~/.ssh/config file (create this file if it does not exist), replacing HOST, PORT and USER with the values shown by dotcloud info:

    Host myapp.myservice
      HostName HOST
      Port PORT
      User USER
      IdentityFile ~/.dotcloud/dotcloud.key
  3. You can now do things like:

    • ssh myapp.myservice
    • scp somefile myapp.myservice:
    • rsync -av somedirectory/ myapp.myservice:remotedirectory/
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 peicheng 的頭像
    peicheng

    FLASHC

    peicheng 發表在 痞客邦 留言(0) 人氣()