You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
322 B
19 lines
322 B
4 years ago
|
#!/bin/bash
|
||
|
# eqx-get-project-ssh-config
|
||
|
#
|
||
|
# Give a project name, generate an ~/.ssh/config snippet.
|
||
|
|
||
|
EQXPROJECT="$1"
|
||
|
|
||
|
if [[ $1 == "" ]]
|
||
|
then \
|
||
|
echo -e "Need project name, such as:\n"
|
||
|
eqx-get-project-names
|
||
|
echo
|
||
|
exit
|
||
|
fi
|
||
|
|
||
|
# Get Project Device IDs
|
||
|
eqx-get-project-devices-id "$EQXPROJECT"
|
||
|
|