Fabric Python library can be used to send SSH commands to multiple computers at the same time.
This comes useful when doing distributed updates to the SBC (i.e. Raspberry Pi) cluster.
http://www.fabfile.org/
Showing posts with label ssh. Show all posts
Showing posts with label ssh. Show all posts
Fabric Python library to run SSH to multiple computers
find similar posts:
cluster,
cluster computer,
Fabric,
Python,
ssh
0
comments
Fabric Python library to run SSH to multiple computers
Fabric Python library can be used to send SSH commands to multiple computers at the same time.
This comes useful when doing distributed updates to the SBC (i.e. Raspberry Pi) cluster.
http://www.fabfile.org/
This comes useful when doing distributed updates to the SBC (i.e. Raspberry Pi) cluster.
http://www.fabfile.org/
find similar posts:
cluster,
cluster computer,
Fabric,
Python,
ssh
GitHub SSH
Go to:
https://gist.github.com/developius/c81f021eb5c5916013dc
$ ssh -T git@github.com
The authenticity of host 'github.com (192.30.253.112)' can't be established.
RSA key fingerprint is SHA256:nTh....
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,1xx.xx.xx.xx' (RSA) to the list of known hosts.
Enter passphrase for key '/Users/uki/.ssh/id_rsa':
Hi UkiDLucas! You've successfully authenticated, but GitHub does not provide shell access.
$ ssh -T git@github.com
The authenticity of host 'github.com (192.30.253.112)' can't be established.
RSA key fingerprint is SHA256:nTh....
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,1xx.xx.xx.xx' (RSA) to the list of known hosts.
Enter passphrase for key '/Users/uki/.ssh/id_rsa':
Hi UkiDLucas! You've successfully authenticated, but GitHub does not provide shell access.
find similar posts:
git,
GitHub,
ssh
0
comments
GitHub SSH
Go to:
https://gist.github.com/developius/c81f021eb5c5916013dc
$ ssh -T git@github.com
The authenticity of host 'github.com (192.30.253.112)' can't be established.
RSA key fingerprint is SHA256:nTh....
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,1xx.xx.xx.xx' (RSA) to the list of known hosts.
Enter passphrase for key '/Users/uki/.ssh/id_rsa':
Hi UkiDLucas! You've successfully authenticated, but GitHub does not provide shell access.
$ ssh -T git@github.com
The authenticity of host 'github.com (192.30.253.112)' can't be established.
RSA key fingerprint is SHA256:nTh....
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,1xx.xx.xx.xx' (RSA) to the list of known hosts.
Enter passphrase for key '/Users/uki/.ssh/id_rsa':
Hi UkiDLucas! You've successfully authenticated, but GitHub does not provide shell access.
find similar posts:
git,
GitHub,
ssh
0
comments
SHH key
$ git clone git@github.com:roboguice/roboguice.git
Cloning into 'roboguice'...
Permission denied (publickey).
$ ls -al ~/.ssh
Cloning into 'roboguice'...
Permission denied (publickey).
$ ls -al ~/.ssh
total 120
-rw------- 1 uki staff 1675 Oct 31 2012 id_rsa
COPY YOUR PUBLIC KEY to clipboard
$ pbcopy < ~/.ssh/id_rsa.pub
PASTE your SSH key exactly as copied (i.e. in GitHub settings)
https://github.com/settings/ssh
https://github.com/settings/ssh
$ git clone git@github.com:roboguice/roboguice.git roboguice
Cloning into 'roboguice'...
remote: Counting objects: 18463, done.
Receiving objects: 15%
find similar posts:
ssh
0
comments
SHH key
$ git clone git@github.com:roboguice/roboguice.git
Cloning into 'roboguice'...
Permission denied (publickey).
$ ls -al ~/.ssh
Cloning into 'roboguice'...
Permission denied (publickey).
$ ls -al ~/.ssh
total 120
-rw------- 1 uki staff 1675 Oct 31 2012 id_rsa
COPY YOUR PUBLIC KEY to clipboard
$ pbcopy < ~/.ssh/id_rsa.pub
PASTE your SSH key exactly as copied (i.e. in GitHub settings)
https://github.com/settings/ssh
https://github.com/settings/ssh
$ git clone git@github.com:roboguice/roboguice.git roboguice
Cloning into 'roboguice'...
remote: Counting objects: 18463, done.
Receiving objects: 15%
find similar posts:
ssh
0
comments
Raspberry Pi: Java 1.8
pi@raspberrypi ~ $ java -version
java version "1.7.0_40"
DOWNLOAD:
Linux ARM v6/v7 Hard Float ABI 76.67 MB
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-arm-downloads-2187472.html
COPY OVER TO PI
$ scp ~/Downloads/jdk-8u33-linux-arm-vfp-hflt.gz pi@192.168.1.xxx:
LOG IN TO PI
$ ssh pi@192.168.1.xxx
CHECK THE TRANSFER
pi@raspberrypi ~ $ ls -alt
total 178460
-rw-r----- 1 pi pi 80392759 Feb 6 06:44 jdk-8u33-linux-arm-vfp-hflt.gz
UNPACKAGE
pi@raspberrypi ~ $ sudo tar zxvf jdk-8u33-linux-arm-vfp-hflt.gz -C /opt
jdk1.8.0_33/COPYRIGHT
jdk1.8.0_33/LICENSE
jdk1.8.0_33/README.html
jdk1.8.0_33/THIRDPARTYLICENSEREADME.txt
jdk1.8.0_33/bin/
....
CHECK VERSION
pi@raspberrypi ~ $ /opt/jdk1.8.0_33/bin/java -version
java version "1.8.0_33"
Java(TM) SE Runtime Environment (build 1.8.0_33-b05)
Java HotSpot(TM) Client VM (build 25.33-b05, mixed mode)
find similar posts:
Java,
Raspberry Pi,
scp,
ssh
0
comments
Raspberry Pi: Java 1.8
pi@raspberrypi ~ $ java -version
java version "1.7.0_40"
DOWNLOAD:
Linux ARM v6/v7 Hard Float ABI 76.67 MB
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-arm-downloads-2187472.html
COPY OVER TO PI
$ scp ~/Downloads/jdk-8u33-linux-arm-vfp-hflt.gz pi@192.168.1.xxx:
LOG IN TO PI
$ ssh pi@192.168.1.xxx
CHECK THE TRANSFER
pi@raspberrypi ~ $ ls -alt
total 178460
-rw-r----- 1 pi pi 80392759 Feb 6 06:44 jdk-8u33-linux-arm-vfp-hflt.gz
UNPACKAGE
pi@raspberrypi ~ $ sudo tar zxvf jdk-8u33-linux-arm-vfp-hflt.gz -C /opt
jdk1.8.0_33/COPYRIGHT
jdk1.8.0_33/LICENSE
jdk1.8.0_33/README.html
jdk1.8.0_33/THIRDPARTYLICENSEREADME.txt
jdk1.8.0_33/bin/
....
CHECK VERSION
pi@raspberrypi ~ $ /opt/jdk1.8.0_33/bin/java -version
java version "1.8.0_33"
Java(TM) SE Runtime Environment (build 1.8.0_33-b05)
Java HotSpot(TM) Client VM (build 25.33-b05, mixed mode)
find similar posts:
Java,
Raspberry Pi,
scp,
ssh
0
comments
WARNING: UNPROTECTED PRIVATE KEY FILE!
If you are getting this kind of error the the permissions on your files are modified incorrectly:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0744 for '/home/your_name/.ssh/id_rsa' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /home/your_name/.ssh/id_rsa
@ .ssh $ ls -alt
..
-rw-r--r--@ 1 your_name staff 222 Nov 26 2012 id_rsa.pub
-rw-r--r-- 1 your_name staff 887 Nov 20 2012 id_rsa
...
@ .ssh $
To fix this problem change permissions:
@ .ssh $ chmod 600 id_rsa
@ .ssh $ chmod 600 id_rsa.pub
@ .ssh $ ls -alt
total 80
...
-rw-------@ 1 uki staff 222 Nov 26 2012 id_rsa.pub
-rw------- 1 uki staff 887 Nov 20 2012 id_rsa_cnh
...
@ .ssh $
find similar posts:
chmod,
Linux/Unix,
ssh
0
comments
WARNING: UNPROTECTED PRIVATE KEY FILE!
If you are getting this kind of error the the permissions on your files are modified incorrectly:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0744 for '/home/your_name/.ssh/id_rsa' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /home/your_name/.ssh/id_rsa@ .ssh $ ls -alt
..
-rw-r--r--@ 1 your_name staff 222 Nov 26 2012 id_rsa.pub
-rw-r--r-- 1 your_name staff 887 Nov 20 2012 id_rsa
...
@ .ssh $
To fix this problem change permissions:
@ .ssh $ chmod 600 id_rsa
@ .ssh $ chmod 600 id_rsa.pub
@ .ssh $ ls -alt
total 80
...
-rw-------@ 1 uki staff 222 Nov 26 2012 id_rsa.pub
-rw------- 1 uki staff 887 Nov 20 2012 id_rsa_cnh
...
@ .ssh $
find similar posts:
chmod,
Linux/Unix,
ssh
0
comments
As an Amazon Associate I earn from qualifying purchases.
Subscribe to:
Posts (Atom)
apt quotation..
“A man should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.” by Robert A. Heinlein (author, aeronautical engineer, and naval officer)
