I'm miscommunicating. I'm not talking about logging into the SFTP server with public/private keys. I only have user/pass authentication set up. What I'm talking about is the RSA key message you get the first time you ssh into a new computer. On Linux, once you SSH to a new IP , you're asked if you want to make the connection, and if you say yes, then it adds that key to the known_hosts file, which I believe is stored in ~/.ssh. I brought my tablet into work today, so the IP in the below is incorrect, and I'm using SSH on linux just to demonstrate:
Code: Select all
$ ssh [email protected]
The authenticity of host '10.0.0.151 (10.0.0.151)' can't be established.
RSA key fingerprint is 17:60:bb:44:2f:36:d8:df:6b:98:fb:63:7f:52:a7:a1.
Are you sure you want to continue connecting (yes/no)?
I'm not getting a similar message when I hit Sync from Mylar.
I had hoped to find the rsa key for my tablet from Filezilla, but my googling has steered me wrong. Everything I can find says that they key should be in the registry, but it isn't. I don't know if Filezilla is no longer based on PuTTY, but I'm unable to find anything by searching it. And there's no known_hosts file that I can find either.
I tried a number of different FTP servers on my tablet. In the Play store there are a ton of them, but a lot are the exact same (or very similar) apps made by the same publisher, so of the six or seven I tried, only three were actually different. All of them have the same basic setup. I chose a user/pass authentication and used the same port set in Mylar. The logs of each of the apps are pretty thin, but each suggests that my mylar server is connecting (the IP shows in the logs), but then almost immediately disconnects. I re-entered user/pass on both the servers and in mylar to make sure that wasn't the issue.
I installed Paramiko via Pip yesterday: paramiko (1.16.0).
Later on I'll have a Linux box at home to mess with, so I can see if I can use it to connect and get the rsa host key. The problem then becomes what to do with it. Paramiko's docs state:
load(filename)
Read a file of known SSH host keys, in the format used by OpenSSH. This type of file unfortunately doesn’t exist on Windows, but on posix, it will usually be stored in os.path.expanduser("~/.ssh/known_hosts").
http://docs.paramiko.org/en/1.16/api/hostkeys.html
I really don't know what to do about that, if it just won't use one. The only thing I can think of (super limited knowledge over here) is to auto accept the host's rsa key. Even if it doesn't ever get stored, it should work, just because it always gets accepted.