Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

advertising

related pastes to tag 'ssh'

2110009 - ssh-copy-id: ubuntu ssh openssh
  1. #!/bin/sh
  2.  
  3. # Shell script to install your public key on a remote machine
  4. # Takes the remote machine name as an argument.
  5. # Obviously, the remote machine must accept password authentication,
  6. # or one of the other keys in your ssh-agent, for this to work.
  7.  
  8. ID_FILE="${HOME}/.ssh/id_rsa.pub"
  9.  
2110008 - ssh-copy-id: ubuntu ssh openssh
  1. #!/bin/sh
  2.  
  3. # Shell script to install your public key on a remote machine
  4. # Takes the remote machine name as an argument.
  5. # Obviously, the remote machine must accept password authentication,
  6. # or one of the other keys in your ssh-agent, for this to work.
  7.  
  8. ID_FILE="${HOME}/.ssh/id_rsa.pub"
  9.  
2110006 - ssh-copy-id: ubuntu ssh openssh
  1. #!/bin/sh
  2.  
  3. # Shell script to install your public key on a remote machine
  4. # Takes the remote machine name as an argument.
  5. # Obviously, the remote machine must accept password authentication,
  6. # or one of the other keys in your ssh-agent, for this to work.
  7.  
  8. ID_FILE="${HOME}/.ssh/id_rsa.pub"
  9.  
1551041 - epixoip: chroot ssh sftp
  1. [Note: This only applies to OpenSSH 4.8 and above.]
  2.  
  3. Short tutorial for creating sftp-only accounts for untrusted users. The user will be chrooted to their home directory, and will not be able to write to the root directory. You will need to make subdirectories for the user so they can write files.
  4.  
  5. 1. Create a group for untrusted users:
  6.    # groupadd untrusted
  7.  
  8. 2. Add an untrusted user (or two, or three):
  9.  
1494361 - matiu: ubuntu default config hardy sshd_config ssh
  1. # Package generated configuration file
  2. # See the sshd(8) manpage for details
  3.  
  4. # What ports, IPs and protocols we listen for
  5. Port 22
  6. # Use these options to restrict which interfaces/protocols sshd will bind to
  7. #ListenAddress ::
  8. #ListenAddress 0.0.0.0
  9.  
1309867 - Mine: config ssh
  1. # Package generated configuration file
  2. # See the sshd(8) manpage for details
  3.  
  4. # What ports, IPs and protocols we listen for
  5. Port 30000
  6. # Use these options to restrict which interfaces/protocols sshd will bind to
  7. #ListenAddress ::
  8. #ListenAddress 0.0.0.0
  9.  
1182850 - MySQL export/import over SSH: mysql sync ssh secure tunnel
  1. #!/bin/bash
  2.  
  3. #Sync the database from local to remote, using a secure tunnel.
  4.  
  5. auth_timeout=15
  6.  
  7. # ssh will take a little time to authenticate
  8. ssh -C -N -L 6603:gallery.db:3306 me@remote &
  9.  
995599 - ssh script: bash ssh controlmaster controlpath
  1. #!/usr/local/bin/bash
  2.  
  3. # Tue Oct  2 04:37:30 CEST 2007 eak!
  4.  
  5. if [ -z "$1" ]; then
  6.   exit 255
  7. fi
  8.  
  9.  
906756 - bastard attak: ssh
  1. Sat, 2008-02-16 18:42:52 - TCP Packet - Source:194.50.57.3,57086 Destination:90.53.246.41,22 - [SSH rule match]
  2. Sat, 2008-02-16 18:42:56 - TCP Packet - Source:194.50.57.3,57354 Destination:90.53.246.41,22 - [SSH rule match]
  3. Sat, 2008-02-16 18:43:00 - TCP Packet - Source:194.50.57.3,57577 Destination:90.53.246.41,22 - [SSH rule match]
  4. Sat, 2008-02-16 18:43:03 - TCP Packet - Source:194.50.57.3,58586 Destination:90.53.246.41,22 - [SSH rule match]
  5. Sat, 2008-02-16 18:43:07 - TCP Packet - Source:194.50.57.3,59614 Destination:90.53.246.41,22 - [SSH rule match]
  6. Sat, 2008-02-16 18:43:10 - TCP Packet - Source:194.50.57.3,60600 Destination:90.53.246.41,22 - [SSH rule match]
  7. Sat, 2008-02-16 18:43:13 - TCP Packet - Source:194.50.57.3,33392 Destination:90.53.246.41,22 - [SSH rule match]
  8. Sat, 2008-02-16 18:43:17 - TCP Packet - Source:194.50.57.3,33601 Destination:90.53.246.41,22 - [SSH rule match]
  9.  
worth-right
worth-right
fantasy-obligation