Kodi Community Forum

Full Version: SFTP help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have installed XBMC 10.0 Live on my acer revo r3610. I wanted to transfer a file to it and tried connecting using filezilla.

When I try to connect this is the output I get:
Status: Connecting to 192.168.1.5...
Response: fzSftp started
Command: open "[email protected]" 22
Command: Pass: ********
Error: Authentication failed.
Error: Critical error
Error: Could not connect to server

I have tried using ssh in a terminal and have also tried putty but none of the three methods work. Using putty I get access denied.

Is there a firewall that needs configured in xbmc live?
If I use ssh to connect to my netbook from my laptop it connects no problem and also from the netbook to the laptop. Before I decided to take apart my server I could also connect to that from my laptop. With this being the case I don't think there is a problem with the firewall on my laptop. Port 22 is open on my router.

Authentication failed would imply the username or password is wrong but these are correct. I also tried setting a root password and logging in as root but still received the same errors.

I have spend hours searching the net for a solution but couldn't find anything.

Any help would be greatly appreciated.

Ally
Hi
When on the xbmc pooter with xbmc running
if you hit the ctrl+alt +f1 keys together, can you log in at the prompt with the user name and password your using?
the default if you havnt changed it will be
user xbmc
password xbmc
if so then its not user or password related
Cheers
Wozza
Wozza_au Wrote:Hi
When on the xbmc pooter with xbmc running
if you hit the ctrl+alt +f1 keys together, can you log in at the prompt with the user name and password your using?
the default if you havnt changed it will be
user xbmc
password xbmc
if so then its not user or password related
Cheers
Wozza

That's what I thought but everywhere I have looked online suggest the error messages I'm getting are username/password related.

I know the user name and password are correct because I had to use them to log in to enable hdmi in alsamixer.
Hi
Try pinging your xbmc machine from the remote computer
if no response then check the open/closed ports on your router/firewall
I didnt have any issues when using SFTP I just added my user password and ip addy for the xbmc box and away it went.....
Wozza
I will fire it up and try again. I did ping it earlier and there didn't appear to be a problem.
PING 192.168.1.5 (192.168.1.5) 56(84) bytes of data.
64 bytes from 192.168.1.5: icmp_req=1 ttl=64 time=9.01 ms
64 bytes from 192.168.1.5: icmp_req=2 ttl=64 time=2.64 ms
64 bytes from 192.168.1.5: icmp_req=3 ttl=64 time=2.45 ms
64 bytes from 192.168.1.5: icmp_req=4 ttl=64 time=3.57 ms
64 bytes from 192.168.1.5: icmp_req=5 ttl=64 time=11.5 ms
64 bytes from 192.168.1.5: icmp_req=6 ttl=64 time=2.53 ms
64 bytes from 192.168.1.5: icmp_req=7 ttl=64 time=2.87 ms
64 bytes from 192.168.1.5: icmp_req=8 ttl=64 time=1.88 ms
64 bytes from 192.168.1.5: icmp_req=9 ttl=64 time=3.92 ms
64 bytes from 192.168.1.5: icmp_req=10 ttl=64 time=2.96 ms
64 bytes from 192.168.1.5: icmp_req=11 ttl=64 time=2.97 ms
64 bytes from 192.168.1.5: icmp_req=12 ttl=64 time=3.15 ms
64 bytes from 192.168.1.5: icmp_req=13 ttl=64 time=1.95 ms
64 bytes from 192.168.1.5: icmp_req=14 ttl=64 time=6.20 ms
64 bytes from 192.168.1.5: icmp_req=15 ttl=64 time=2.05 ms
64 bytes from 192.168.1.5: icmp_req=16 ttl=64 time=2.47 ms
64 bytes from 192.168.1.5: icmp_req=17 ttl=64 time=2.64 ms
64 bytes from 192.168.1.5: icmp_req=18 ttl=64 time=2.82 ms
64 bytes from 192.168.1.5: icmp_req=19 ttl=64 time=3.35 ms
64 bytes from 192.168.1.5: icmp_req=20 ttl=64 time=2.89 ms
64 bytes from 192.168.1.5: icmp_req=21 ttl=64 time=2.56 ms
64 bytes from 192.168.1.5: icmp_req=22 ttl=64 time=2.89 ms
64 bytes from 192.168.1.5: icmp_req=23 ttl=64 time=2.19 ms
64 bytes from 192.168.1.5: icmp_req=24 ttl=64 time=2.89 ms
64 bytes from 192.168.1.5: icmp_req=25 ttl=64 time=2.59 ms
64 bytes from 192.168.1.5: icmp_req=26 ttl=64 time=2.08 ms
64 bytes from 192.168.1.5: icmp_req=27 ttl=64 time=2.09 ms
64 bytes from 192.168.1.5: icmp_req=28 ttl=64 time=12.1 ms
64 bytes from 192.168.1.5: icmp_req=29 ttl=64 time=2.73 ms
64 bytes from 192.168.1.5: icmp_req=30 ttl=64 time=3.32 ms
--- 192.168.1.5 ping statistics ---
30 packets transmitted, 30 received, 0% packet loss, time 29046ms
rtt min/avg/max/mdev = 1.887/3.645/12.109/2.566 ms
Hi
Well Im at a loss Smile
the only things I can now think off
is some caricature in your user name or password isnt being accepted
your using the wrong Ip addy Smile
its got to be something very very simple......
putty,winSCP,xwing and filezilla all worked here without any special configs or hidden pramas
cheers
Wozza
Is sshd running on your revo? Can you logon locally to your revo to check ctr + alt + f1 when logged in type :-

ps -ef|grep -i sshd

you should see something like /usr/bin/sshd come back in one of the lines or something similar if it's running.
simmb Wrote:Is sshd running on your revo? Can you logon locally to your revo to check ctr + alt + f1 when logged in type :-

ps -ef|grep -i sshd

you should see something like /usr/bin/sshd come back in one of the lines or something similar if it's running.

output from first line:
root 1397 1 0 18.29 ? 00:00:00 /usr/sbin/sshd -D
Wozza_au Wrote:Hi
Well Im at a loss Smile
the only things I can now think off
is some caricature in your user name or password isnt being accepted
your using the wrong Ip addy Smile
its got to be something very very simple......
putty,winSCP,xwing and filezilla all worked here without any special configs or hidden pramas
cheers
Wozza

Ok thank you, I appreciated you trying to help.

I just don't know what it could be, I took the ip addy from ifconfig.
The user name and password is the same on the netbook and I can log into it no problem.

Could this be causing some kind of conflict the fact I have used the exact same username and password on another machine. The ip address is obviously different though.
Does the output of :-

sudo lsof 2>&1 |grep 'sshd.*IPv4.*'

Show that ssh is listening?
Output:
sshd 1397 root 3r IPv4 6192 0t0 TCP *Confusedsh (LISTEN)

I appreciate everyone's help, I need to go just now but will be back online tomorrow.
I would try a quick reinstall and see what happens:-

sudo apt-get install openssh-server

If you are only trying to copy a file across maybe consider going down the samba share route.
Also have a quick look in /etc/ssh/sshd_config and just check that the port is set to 22 and not been altered to some obscure port number. Should be a line close to the top of the file can't remember off the top of my head exactly where it is but it's quite clear.
Give zssh a try. Package is called lzrz.
Pages: 1 2