{"action":"created","issue":{"url":"https://api.github.com/repos/tessel/t2-cli/issues/823","repository_url":"https://api.github.com/repos/tessel/t2-cli","labels_url":"https://api.github.com/repos/tessel/t2-cli/issues/823/labels{/name}","comments_url":"https://api.github.com/repos/tessel/t2-cli/issues/823/comments","events_url":"https://api.github.com/repos/tessel/t2-cli/issues/823/events","html_url":"https://github.com/tessel/t2-cli/issues/823","id":172271495,"number":823,"title":"SSH: Trying to connect to Tessel2 as root returns \"Connection timed out\" on port 22","user":{"login":"vzamfirescu","id":8188370,"avatar_url":"https://avatars.githubusercontent.com/u/8188370?v=3","gravatar_id":"","url":"https://api.github.com/users/vzamfirescu","html_url":"https://github.com/vzamfirescu","followers_url":"https://api.github.com/users/vzamfirescu/followers","following_url":"https://api.github.com/users/vzamfirescu/following{/other_user}","gists_url":"https://api.github.com/users/vzamfirescu/gists{/gist_id}","starred_url":"https://api.github.com/users/vzamfirescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vzamfirescu/subscriptions","organizations_url":"https://api.github.com/users/vzamfirescu/orgs","repos_url":"https://api.github.com/users/vzamfirescu/repos","events_url":"https://api.github.com/users/vzamfirescu/events{/privacy}","received_events_url":"https://api.github.com/users/vzamfirescu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-20T13:37:16Z","updated_at":"2016-08-23T22:00:52Z","closed_at":null,"body":"Hello,\r\n\r\nI tried connecting to my Tessel2 device today via ssh, but I keep getting the following error:\r\n```\r\nssh -i ~/.tessel/id_rsa root@192.168.0.105\r\nssh: connect to host 192.168.0.105 port 22: Connection timed out\r\n```\r\n\r\nI tried running the ssh command with the ```ConnectTimeout``` flag set to higher values (20+ seconds), but I still get the same error.\r\n\r\nI also deleted the ```~/.tessel/``` folder and ran ```t2 provision``` in order to refresh the keys used to authenticate on the device, but it did not fix my issue.\r\n\r\nHowever, if I try running some code on the device, it runs with no issues whatsoever.\r\n\r\nFurthermore, I've updated the code that I am running on the device via ```t2 run``` in order to write some data to an USB device mounted at ```/mnt/sda1/```, as I wanted to see if I am able to access the filesystem, and everything runs as expected.\r\n\r\nAfter creating files with the ```fs``` module and writing data for a couple of minutes, I can then get the USB drive out of the device and check the data on my laptop.\r\n\r\nToday is the first time I have encountered this strange behavior and I did no changes to my laptop in terms of firewall configuration, applications installed, npm globally installed packages etc.\r\n\r\nAs part of my investigation, I triggered a force update of the Tessel2 firmware via ```t2 update ---force```, but the errors keeps persisting.\r\n\r\nAfter forcefully updating the firmware (even though I already had the latest version), I got the following error when I ran the first ```t2 list```:\r\n```\r\nINFO Searching for nearby Tessels...\r\nERR! Detected CLI crash { [Error: LIBUSB_TRANSFER_STALL] errno: 4 } Error: LIBUSB_TRANSFER_STALL\r\nERR!     at Error (native)\r\nINFO Crash Reported: http://crash-reporter.tessel.io/crashes?fingerprint=-0x21dc75d3\r\n```\r\n\r\nHowever, it was a one-time only error that did not persist to any subsequent ```t2``` commands.\r\n\r\n\r\n\r\nBelow are some additional details regarding my setup:\r\n\r\n**OPERATING SYSTEM**\r\n```\r\nWindows 10 (64-bit Version)\r\n```\r\n\r\n**NODEJS**\r\n```\r\nnode -v\r\nv4.4.7\r\n\r\nnpm -v\r\n2.15.8\r\n```\r\n\r\n**TESSEL2 DEVICE**\r\n```\r\nt2 provision\r\nINFO Looking for your Tessel...\r\nINFO Connected to <MY_TESSEL_DEVICE>.\r\nINFO Authenticating Tessel with public key...\r\nINFO Tessel is already authenticated with this computer.\r\n\r\nt2 wifi\r\nINFO Looking for your Tessel...\r\nINFO Connected to <MY_TESSEL_DEVICE>.\r\nINFO Connected to <MY_WIFI_SSID>\r\nINFO IP Address: 192.168.0.105\r\nINFO Signal Strength: (69/70)\r\nINFO Bitrate: 15mbps\r\n```"},"comment":{"url":"https://api.github.com/repos/tessel/t2-cli/issues/comments/241894373","html_url":"https://github.com/tessel/t2-cli/issues/823#issuecomment-241894373","issue_url":"https://api.github.com/repos/tessel/t2-cli/issues/823","id":241894373,"user":{"login":"vzamfirescu","id":8188370,"avatar_url":"https://avatars.githubusercontent.com/u/8188370?v=3","gravatar_id":"","url":"https://api.github.com/users/vzamfirescu","html_url":"https://github.com/vzamfirescu","followers_url":"https://api.github.com/users/vzamfirescu/followers","following_url":"https://api.github.com/users/vzamfirescu/following{/other_user}","gists_url":"https://api.github.com/users/vzamfirescu/gists{/gist_id}","starred_url":"https://api.github.com/users/vzamfirescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vzamfirescu/subscriptions","organizations_url":"https://api.github.com/users/vzamfirescu/orgs","repos_url":"https://api.github.com/users/vzamfirescu/repos","events_url":"https://api.github.com/users/vzamfirescu/events{/privacy}","received_events_url":"https://api.github.com/users/vzamfirescu/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T22:00:52Z","updated_at":"2016-08-23T22:00:52Z","body":"I tried forwarding the tessel's internal port ```22``` to a DNS on port ```2222```, but I keep getting the same error.\r\n\r\nAlso, I tried running ```t2 root``` to log into the device, but I get the following error:\r\n```\r\nt2 root\r\nINFO Looking for your Tessel...\r\nWARN No Authorized Tessels Found.\r\n```\r\n\r\nHowever, when I run ```t2 provision```, this is the output that I get:\r\n```\r\nt2 provision\r\nINFO Looking for your Tessel...\r\nINFO Connected to <MY_TESSEL_DEVICE>.\r\nINFO Authenticating Tessel with public key...\r\nINFO Tessel is already authenticated with this computer.\r\n```"}}
{"actor":{"display_login":"vzamfirescu"}}