Spaces:
Paused
Paused
Update start.sh
Browse files
start.sh
CHANGED
|
@@ -159,10 +159,10 @@ echo "* Contents of config of Admin:"
|
|
| 159 |
cat /home/admin/.ssh/config
|
| 160 |
echo "* Contents of known hosts of Admin:"
|
| 161 |
cat /app/ssh/ssh_known_hosts
|
| 162 |
-
echo "*
|
| 163 |
-
|
| 164 |
-
ls -
|
| 165 |
-
ls -
|
| 166 |
|
| 167 |
#sshd -T | grep -i 'known hosts'
|
| 168 |
echo "* Status of SSH service: *"
|
|
@@ -174,7 +174,7 @@ sshpass -p "password" ssh -v -o StrictHostKeyChecking=no -i /home/admin/.ssh/id_
|
|
| 174 |
echo "* Testing admin's SSH login locally Method 2 *"
|
| 175 |
#ssh -v -o StrictHostKeyChecking=no -i /home/admin/.ssh/id_rsa admin@r-privateone-ubuntu-sypaevhc-acfbc-8nywf -p 2222
|
| 176 |
|
| 177 |
-
echo "* Testing admin's SSH login locally Method 3 $(ssh -fnNT -R 0.0.0.0:2222:0.0.0.0:7860 remote-host )*"
|
| 178 |
|
| 179 |
activate_virtual_env
|
| 180 |
set_working_directory
|
|
|
|
| 159 |
cat /home/admin/.ssh/config
|
| 160 |
echo "* Contents of known hosts of Admin:"
|
| 161 |
cat /app/ssh/ssh_known_hosts
|
| 162 |
+
echo "* Setting Permissions /home/admin/.ssh/ -777 :$(chmod -R 777 /home/admin/.ssh/)"
|
| 163 |
+
echo "* Contents of /home/admin/.ssh/ : $(ls -la /home/admin/.ssh/)"
|
| 164 |
+
echo "* Contents of .ssh/ of Admin: $(ls -la .ssh/)"
|
| 165 |
+
echo "* Contents of Home: $(ls -la /home/)"
|
| 166 |
|
| 167 |
#sshd -T | grep -i 'known hosts'
|
| 168 |
echo "* Status of SSH service: *"
|
|
|
|
| 174 |
echo "* Testing admin's SSH login locally Method 2 *"
|
| 175 |
#ssh -v -o StrictHostKeyChecking=no -i /home/admin/.ssh/id_rsa admin@r-privateone-ubuntu-sypaevhc-acfbc-8nywf -p 2222
|
| 176 |
|
| 177 |
+
#echo "* Testing admin's SSH login locally Method 3 $(ssh -fnNT -R 0.0.0.0:2222:0.0.0.0:7860 remote-host )*"
|
| 178 |
|
| 179 |
activate_virtual_env
|
| 180 |
set_working_directory
|