# SSH Connection to server using .pvsc file

**URL:** https://discourse.paraview.org/t/ssh-connection-to-server-using-pvsc-file/4297
**Category:** ParaView Support
**Created:** [May 11, 2020, 9:27am UTC](https://discourse.paraview.org/t/ssh-connection-to-server-using-pvsc-file/4297 "2020-05-11T09:27:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![TimJim](https://discourse.paraview.org/user_avatar/discourse.paraview.org/timjim/32/1270_2.png) [@TimJim](https://discourse.paraview.org/u/TimJim)
#### Post date: [May 11, 2020, 9:27am UTC](https://discourse.paraview.org/t/ssh-connection-to-server-using-pvsc-file/4297/1 "2020-05-11T09:27:48Z")

</div>

Hi,

I was attempting to set up a pvserver pvsc file as per [this post](https://discourse.paraview.org/t/using-ssh-support-to-secure-your-client-server-communication-with-paraview/682) using Paraview 5.8.0.

Currently, I can successfully manually start a client-server process using:  
`ssh user@remote -L 11150:localhost:11111 /home/user/run_pvserver.sh -g`  
then manually connect to localhost:11150 using the Client / Server setting.

So I tried to make a pvsc file with the following:

```
<Servers>
  <Server name="serverSSH" resource="cs://remote:11111">
    <CommandStartup>
      <SSHCommand exec="/home/user/run_pvserver.sh -- " timeout="0" delay="5">
        <SSHConfig user="user">
          <Terminal/>
          <PortForwarding local="11150"/>
        </SSHConfig>
        <Arguments>
          <Argument value="$PV_SERVER_PORT$"/>
        </Arguments>
      </SSHCommand>
    </CommandStartup>
  </Server>
</Servers>

```

But on loading and attempting to connect, I get the following error:

```
# Option “-e” is deprecated and might be removed in a later version of gnome-terminal.
# Use “-- ” to terminate the options and put the command line to execute after it.
# Failed to parse arguments: Unknown option -L

Command aborted.

```

Did I make a mistake in my file?  
Thanks and regards,  
Tim

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [May 12, 2020, 1:59am UTC](https://discourse.paraview.org/t/ssh-connection-to-server-using-pvsc-file/4297/2 "2020-05-12T01:59:17Z")

</div>

Looks like there may be an incompatibility with gnome-terminal.

Can you install and use Xterm instead ?

`<Terminal exec="/usr/bin/xterm"/>`

instead of

`<Terminal/>`

---

<div class="post-metadata">

### Author: ![TimJim](https://discourse.paraview.org/user_avatar/discourse.paraview.org/timjim/32/1270_2.png) [@TimJim](https://discourse.paraview.org/u/TimJim)
#### Post date: [May 15, 2020, 11:03am UTC](https://discourse.paraview.org/t/ssh-connection-to-server-using-pvsc-file/4297/3 "2020-05-15T11:03:50Z")

</div>

Thanks, using xterm seems to do the trick!
