Bug 367986 - SFTP-Plugin use wrong IP
Summary: SFTP-Plugin use wrong IP
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: 1.4
Platform: openSUSE Linux
: NOR major
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-30 06:08 UTC by linreg
Modified: 2017-01-09 07:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description linreg 2016-08-30 06:08:49 UTC
All Plugins are functional, bute SFTP
This command generate the plugin:
sshfs kdeconnect@30.68.187.65:/ /home/thomas.steffen/.config/kdeconnect/4984aeeddf45da10/kdeconnect_sftp/XXXXX -p 1739 -f -o IdentityFile=/home/thomas.steffen/.config/kdeconnect/privateKey.pem -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o HostKeyAlgorithms=ssh-dss 

The IP from my Galaxy S6 is wrong. It should be: 192.168.XXX.XXX
Browsing On my Tablet is okay. 
The SSHFS  command is okay. When i put the command with correct IP in bash. it works

Reproducible: Always

Steps to Reproduce:
1. Use an android 6 or an actual Galaxy S6 device and pairing with kdeconnect 
2. Use SFTP-Plugin
3. Show with journalctl -f log output
4. sshfs command has wrong IP 
5. file browsing do's not functional 

Actual Results:  
sshfs command can not connect your phone with wrong ip. 
you can not browse filesystem on your mobile phone

Expected Results:  
sshfs command should use the correct IP and you can browse filesystem on your mobile phone

Hardware:
samsung tablet Galaxy Tab12 with android 4 or 5 
samsung galaxy S6 with android 6.
Both use the actual google play version 1.4

Laptop 1 is a OpenSUSE LEAP 42.1 with kdeconnect 0.9g and 
Laptop 2 is a OpenSUSE Tumbleweed with kdeconnect 1.0
Comment 1 linreg 2017-01-09 07:09:09 UTC
This case happens, when you install the app over mobile connection!
the app delivers to linux host the mobile ip from installation.
every time the same ip.

After deinstallation and reinstallation over a WLAN connection everything functions perfectly.