Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vdt-plugin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
vdt-plugin
Commits
5a82efa2
Commit
5a82efa2
authored
Feb 04, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added tools to setup password-less ssh connection to the remote host.
parent
19bfb29f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
67 additions
and
18 deletions
+67
-18
gnu.png
icons/gnu.png
+0
-0
vivado_launch.xml
tools/Xilinx/vivado_launch.xml
+67
-18
No files found.
icons/gnu.png
0 → 100644
View file @
5a82efa2
1001 Bytes
tools/Xilinx/vivado_launch.xml
View file @
5a82efa2
...
@@ -8,19 +8,30 @@
...
@@ -8,19 +8,30 @@
shell=
"/bin/bash"
interface=
"VivadoInterface"
description=
"Launching remote Xilinx Vivado in console"
>
shell=
"/bin/bash"
interface=
"VivadoInterface"
description=
"Launching remote Xilinx Vivado in console"
>
<action-menu>
<action-menu>
<action
label=
"Launch Vivado"
resource=
""
icon=
"xilinx.png"
/>
<action
label=
"Launch Vivado"
resource=
""
icon=
"xilinx.png"
/>
<action
label=
"Generate public key"
resource=
""
icon=
"gnu.png"
/>
<action
label=
"Setup connection to"
resource=
"%RemoteUser@%RemoteHost"
icon=
"gnu.png"
/>
</action-menu>
</action-menu>
<!--
<parameter id="command" label="Command" default=""
type="String" format="CopyValue" visible="true" readonly="false" /> -->
<parameter
id=
"actionIndex"
default=
"%%ChosenActionIndex"
type=
"String"
format=
"CopyValue"
visible=
"false"
/>
<input>
<input>
<group
name=
"General"
>
<group
name=
"General"
>
<!-- "command" -->
"RemoteCommand"
"RemoteCommand"
</group>
</group>
</input>
</input>
<output>
<output>
<
line
name=
"Vivado"
<
if
actionIndex=
"0"
>
interrupt=
"\x03
"
>
<line
name=
"Vivado
"
>
"%ShellSwitches"
"%ShellSwitches"
"%PreSSH"
"%PreSSH"
"ssh"
"ssh"
"-oBatchMode=yes"
<if
TerminalMode =
"true"
>
<if
TerminalMode =
"true"
>
"-t -t"
"-t -t"
</if>
</if>
...
@@ -32,7 +43,45 @@
...
@@ -32,7 +43,45 @@
"%RemoteCommand"
"%RemoteCommand"
"'"
"'"
"%SSHExtra"
"%SSHExtra"
"|| { echo '*** ssh connection to the server %RemoteUser@%RemoteHost failed ***';"
"echo 'You may need to configure connection - it is done in \"Package Setup\"';"
"echo 'Then generate a public key (if it is not done already), and post it to';"
"echo 'the remote server (currently set as %RemoteUser@%RemoteHost)';"
"exit 1; } ;"
</line>
</if>
<if
actionIndex=
"1"
>
<line
name=
"Keygen"
>
"%ShellSwitches"
"echo \"Generating public key with command:\";"
"echo \"ssh-keygen -t rsa -q -f ~/.ssh/id_rsa -N ''\";"
"ssh-keygen -t rsa -q -f ~/.ssh/id_rsa -N ''"
</line>
</line>
</if>
<if
actionIndex=
"2"
>
<line
name=
"SSHCopyID"
>
"%ShellSwitches"
"echo \"**********************************************\";"
"echo \"** **\";"
"echo \"** This command requires you to be able **\";"
"echo \"** to login to the remote system and enter **\";"
"echo \"** a password once to post your public key **\";"
"echo \"** there. **\";"
"echo \"** **\";"
"echo \"** For this you need 'ssh-askpass' to be **\";"
"echo \"** installed in your system. **\";"
"echo \"** **\";"
"echo \"** If the command will fail, you need to **\";"
"echo \"** install 'ssh-askpass' or just manually **\";"
"echo \"** run: **\";"
"echo \"\n ssh-copy-id %RemoteUser@%RemoteHost\n\";"
"echo \"** from the system terminal and enter your **\";"
"echo \"** password when prompted. **\";"
"echo \"** **\";"
"echo \"**********************************************\";"
"ssh-copy-id %RemoteUser@%RemoteHost;"
</line>
</if>
</output>
</output>
</tool>
</tool>
</vdt-project>
</vdt-project>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment