MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 4 as of 2021-03-31 08:55:08
  • SSH

SSH

Generate local key to access remote host

On client:

  • ssh-keygen -t dsa # with empty password
  • cd ~/.ssh
  • cat id_dsa.pub # public key

On SSHserver:

  • mkdir -p ~/.ssh
  • cd /home/userx/.ssh
  • vi authorized_keys # paste the id_dsa.pub (public key) content generated on the client
  • chmod 0600 authorized_keys

Login from the client with ssh userx@remote.example.org should ask for not password. Useful to invoke commands remotely using ssh

Copy file to SSH server listening on different port

scp -P 2222 filex userx@sshserver.example.org:/home/userx

Add listening ports on Ubuntu

Edit file /etc/ssh/sshd_config to set port 22 and 1234

Port 22
Port 1234

Restart service with service ssh restart

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01