Donate to support Ukraine's independence.

06 Dec'11

Connect to VPS from clean machine

  1. download putty
  2. generate ssh key pairs on the client
  3. download winSCP
  4. upload public ssh key to the server
  5. open putty key with puttygen
  6. save it to proprietary format

Remember to use echo correctly:

echo "something" > file

means that everything that’s in “file” will be deleted, and “something” will be written to it (which means that “something” will be right at the beginning of “file”.

Code:

echo "something" >> file

means that “something” will be appended to “file”, so nothing will be deleted from “file”, and “something will be at the end of “file”.

Continue reading

Category: