# Remote SSH port error

**URL:** https://discuss.dvc.org/t/remote-ssh-port-error/84
**Category:** Bug Reports
**Created:** [August 29, 2018, 12:24pm UTC](https://discuss.dvc.org/t/remote-ssh-port-error/84 "2018-08-29T12:24:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![pys](https://avatars.discourse-cdn.com/v4/letter/p/45deac/32.png) [@pys](https://discuss.dvc.org/u/pys)
#### Post date: [August 29, 2018, 12:24pm UTC](https://discuss.dvc.org/t/remote-ssh-port-error/84/1 "2018-08-29T12:24:53Z")

</div>

I’m trying to set up an ssh-remote

pys@gitlab:~/lfstest/ \> dvc remote add base ssh://pys@gitlab.ukit.space:/home/www/dvc  
pys@gitlab:~/lfstest/ \> dvc remote modify base port 12322  
pys@gitlab:~/lfstest/ \> dvc add data.xml  
Error: Initialization error: Config file error: Key ‘remote “base”’ error:  
Key ‘port’ error:  
‘12322’ should be instance of ‘int’  
pys@gitlab:~/lfstest/ \> cat ./.dvc/config  
[‘remote “base”’]  
url = ssh://pys@gitlab.ukit.space:/home/www/dvc  
port = 12322

---

<div class="post-metadata">

### Author: ![kupruser](https://avatars.discourse-cdn.com/v4/letter/k/e95f7d/32.png) [@kupruser](https://discuss.dvc.org/u/kupruser)
#### Post date: [August 29, 2018, 12:49pm UTC](https://discuss.dvc.org/t/remote-ssh-port-error/84/2 "2018-08-29T12:49:07Z")

</div>

Hi @pys !

Thank you for the feedback! This is definitely a bug, I’m already preparing a patch. Will release 0.18.7 with the fix in an hour or so.

Thanks,  
Ruslan

---

<div class="post-metadata">

### Author: ![kupruser](https://avatars.discourse-cdn.com/v4/letter/k/e95f7d/32.png) [@kupruser](https://discuss.dvc.org/u/kupruser)
#### Post date: [August 29, 2018, 1:42pm UTC](https://discuss.dvc.org/t/remote-ssh-port-error/84/3 "2018-08-29T13:42:04Z")

</div>

Hi @pys

Just wanted to let you know that 0.18.7 is out. Please feel free to upgrade and give it a try.

Thanks,  
Ruslan
