Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug - Hardcoded SSH key file #3

Open
akshita-sukhlecha opened this issue Jan 11, 2017 · 0 comments
Open

Bug - Hardcoded SSH key file #3

akshita-sukhlecha opened this issue Jan 11, 2017 · 0 comments

Comments

@akshita-sukhlecha
Copy link

akshita-sukhlecha commented Jan 11, 2017

In the upload_status method in ppss file :

The SSH-key file is hardcoded as ppss-key.dsa :
scp -q -o GlobalKnownHostsFile=./known_hosts -i ppss-key.dsa $NODE_STATUS_FILE $USER@$SSH_SERVER:$PPSS_HOME_DIR/$PPSS_NODE_STATUS/

The key should instead be provided using the $SSH_KEY variable :
scp -q -o GlobalKnownHostsFile=./known_hosts $SSH_KEY $NODE_STATUS_FILE $USER@$SSH_SERVER:$PPSS_HOME_DIR/$PPSS_NODE_STATUS/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant