# SFTP not working

**URL:** <https://forums.suse.com/t/sftp-not-working/21865>\
**Category:** SLES Configure-Administer\
**Created:** [November 16, 2011, 3:06pm UTC](https://forums.suse.com/t/sftp-not-working/21865 "2011-11-16T15:06:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [November 16, 2011, 3:06pm UTC](https://forums.suse.com/t/sftp-not-working/21865/1 "2011-11-16T15:06:02Z")

</div>

Hi,

When trying to Winscp a document to a SUSE 10 server, I recieve an  
‘Error code 4’.

I check the services on the linux box and it does list SFTP service as  
running.

DO I need to restart it, and if so what is the command?

Many thanks for your help in advance.

## – phands\_cfsms35

phands\_cfsms35’s Profile: [http://forums.novell.com/member.php?userid=58898](http://forums.novell.com/member.php?userid=58898)  
View this thread: [http://forums.novell.com/showthread.php?t=448288](http://forums.novell.com/showthread.php?t=448288)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [November 16, 2011, 3:10pm UTC](https://forums.suse.com/t/sftp-not-working/21865/2 "2011-11-16T15:10:47Z")

</div>

On Wed, 16 Nov 2011 13:06:02 GMT  
phands cfsms35 [phands\_cfsms35@no-mx.forums.novell.com](mailto:phands_cfsms35@no-mx.forums.novell.com) wrote:  
[color=blue]

> Hi,
> 
> When trying to Winscp a document to a SUSE 10 server, I recieve an  
> ‘Error code 4’.
> 
> I check the services on the linux box and it does list SFTP service as  
> running.
> 
> DO I need to restart it, and if so what is the command?
> 
> Many thanks for your help in advance.
> 
> [/color]  
> Hi  
> Is the port open on the server firewall for ssh server?

Some of the commands are;

```auto
rcsshd stop
rcsshd start
rcsshd restart
rcsshd status
```

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
openSUSE 11.4 (x86\_64) Kernel 2.6.37.6-0.9-desktop  
up 22:58, 4 users, load average: 0.02, 0.04, 0.08  
GPU GeForce 8600 GTS Silent - Driver Version: 285.05.09

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [November 16, 2011, 4:14pm UTC](https://forums.suse.com/t/sftp-not-working/21865/3 "2011-11-16T16:14:22Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Was the connection made in the first place? Is the firewall in the way?  
Do other scp/sftp clients work (for example, from the server itself to  
itself)?

[http://winscp.net/eng/docs/message\_error\_code\_4](http://winscp.net/eng/docs/message_error_code_4)

Good luck.  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v2.0.15 (GNU/Linux)  
Comment: Using GnuPG with Mozilla - [http://enigmail.mozdev.org/](http://enigmail.mozdev.org/)

iQIcBAEBAgAGBQJOw8TWAAoJEF+XTK08PnB5CZAQAKmj4OcuFsQ3sENXcooorn8C  
a9aSW1qgg7CE3FAbzD86+UzCDDFPvEiUHv+zuQmBN+4F2FqHFWL7JEUQ/E57CiLA  
7PHiPJUq8UohtitpdoBzr2R94JZ3Z8zrrV2uS9wgX/WArYksjMXjcLecK6qbC14+  
ssMFagNiRItvpcR0msedI+Z51kylKpkeBWkWSPY+E7HoIDo4zlkENm9+2O9urCWt  
r1lTN6iwEQVhan3KffMl3lUOpIzjDi1B0yWzk0SWCTykQpE7HaSEWIwXavFW5tbK  
QNLOsDllP9PYOULuBNgqCR2Gj29BYeoM5S8kAHU0tKuR75T//CV0Zuoe+XL5fFju  
wHKACTbe8ett5/px9QXVkefqETvCW+vQgR8HTapIO43Dehk280Urt+QOtUPG6UoF  
d3eb1AqT1tKMb6MjqA+xoLktuSwcnXdnTcElfU9GavpNJSthZFfzLMRo5A0evLMu  
U/6l6YRO/KAfOd9WnEWnWBDNudPJvkcsdEw881Qs07O8/v0CJUkYL5fTHdWKsp0F  
I75DM5ZFEqBwRLwC4cdN/jy1PvnAD4Oc3DECh4FUFzbLyawNKdGFqv0EdrTnSzde  
d0JSy7vIYnX0QMmZfhYlnUFW/8kR60mnL+mGWrbE69gu5PxsaNhJXUiW89ZE/SqG  
YYAz3xswzd8LEMR0QpHm  
=4hQY  
-----END PGP SIGNATURE-----
