Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inau
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs
util
inau
Commits
cc1e1261
Commit
cc1e1261
authored
4 years ago
by
Alessio Igor Bogani
Browse files
Options
Downloads
Patches
Plain Diff
Add a print statement
parent
4c68438c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
inau.py
+1
-0
1 addition, 0 deletions
inau.py
with
1 addition
and
0 deletions
inau.py
+
1
−
0
View file @
cc1e1261
...
...
@@ -268,6 +268,7 @@ def install(username, reponame, tag, destinations, itype):
try
:
with
paramiko
.
SSHClient
()
as
sshClient
:
sshClient
.
set_missing_host_key_policy
(
paramiko
.
AutoAddPolicy
())
print
(
"
Connect to
"
+
server
.
name
+
"
...
"
)
sshClient
.
connect
(
hostname
=
server
.
name
,
port
=
22
,
username
=
"
root
"
,
key_filename
=
"
/home/inau/.ssh/id_rsa.pub
"
)
with
sshClient
.
open_sftp
()
as
sftpClient
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment