trying to putty in

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
rflores2323 Offline
Posting Freak
Posts: 1,950
Joined: Jan 2009
Reputation: 2
Post: #1
I am trying to change my permissions for my addons to update however for some reason putty keeps closing.

I can get into the atv2 by using cyberduck with my internal IP and port 22 and then using root and alpine.. works

however I try to use putty and it just closes the window. I tried on my other atv2 and putty works.

I am trying to do this command but the window keeps closing on me.

Code:
chown -R mobile: /User/Library/Preferences/XBMC/

Has this happen to anyone?

ATV1 with crystalbuntu V1 (11.eden). Theater remote URC MX-810, droidx wtih xbmc remote, or transformer tf101 with YATSE. 2 x ATV2 (V12.0 Eden).

find quote
dtviewer Offline
Fan
Posts: 664
Joined: Jul 2008
Reputation: 1
Post: #2
Dont know why its closing on you.
Are you able to put in username root and password alpine before pasting in

chown -R mobile: /User/Library/Preferences/XBMC/
find quote
rflores2323 Offline
Posting Freak
Posts: 1,950
Joined: Jan 2009
Reputation: 2
Post: #3
dtviewer Wrote:Dont know why its closing on you.
Are you able to put in username root and password alpine before pasting in

chown -R mobile: /User/Library/Preferences/XBMC/

well thats the thing... It closes on me before I am able to put the above command in. I tried on both my windows machine and ubuntu machine.

however if I try via cyberduck I can get into the machine via SFTP

ATV1 with crystalbuntu V1 (11.eden). Theater remote URC MX-810, droidx wtih xbmc remote, or transformer tf101 with YATSE. 2 x ATV2 (V12.0 Eden).

find quote
bayerischemw Offline
Junior Member
Posts: 1
Joined: Apr 2011
Reputation: 0
Post: #4
I'm having issues with trying ssh in windows.
I can type the root but I'm unable to enter alpine password. The screen is idle and after that it says session timed out.

I tried rebooting both devices and it's connecting through ethernet.

Help.!
find quote
rflores2323 Offline
Posting Freak
Posts: 1,950
Joined: Jan 2009
Reputation: 2
Post: #5
well I did a ping to the machine and received the below


Pinging 192.168.1.13 with 32 bytes of data:

Reply from 192.168.1.13: bytes=32 time=3ms TTL=64
Reply from 192.168.1.13: bytes=32 time=2ms TTL=64
Reply from 192.168.1.13: bytes=32 time=2ms TTL=64
Reply from 192.168.1.13: bytes=32 time=2ms TTL=64

Ping statistics for 192.168.1.13:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 2ms, Maximum = 3ms, Average = 2ms

ATV1 with crystalbuntu V1 (11.eden). Theater remote URC MX-810, droidx wtih xbmc remote, or transformer tf101 with YATSE. 2 x ATV2 (V12.0 Eden).

find quote
rflores2323 Offline
Posting Freak
Posts: 1,950
Joined: Jan 2009
Reputation: 2
Post: #6
putty keeps crashing.. I restarted xbmc and still cant get in via putty.

is there anyway to change the permissions via cyberduck?

ATV1 with crystalbuntu V1 (11.eden). Theater remote URC MX-810, droidx wtih xbmc remote, or transformer tf101 with YATSE. 2 x ATV2 (V12.0 Eden).

find quote
dazex Offline
Donor
Posts: 548
Joined: Nov 2009
Reputation: 0
Post: #7
Most likely your ssh key on the ATV2 was changed so putty is closing to protect you. This happens if you reflash your ATV2 since the last time you putty into it.

Search google on ways to clear your ssh key cache.
find quote
jd2157 Offline
Fan
Posts: 641
Joined: Jan 2011
Reputation: 0
Location: Nova Scotia
Post: #8
rflores2323 Wrote:putty keeps crashing.. I restarted xbmc and still cant get in via putty.

is there anyway to change the permissions via cyberduck?

I'd try to find another ssh client to run. One option that comes to mind is Cygwin. It's kind of overkill, but if you install it (with the ssh packages available during install) then it'll give you another way to run an ssh client... and a lot more.

Guess you could always download a copy of putty, remove the old one and try a reinstall... shouldn't fix anything but it often does in Windows.
find quote
dazex Offline
Donor
Posts: 548
Joined: Nov 2009
Reputation: 0
Post: #9
BTW, you are changing ownership, not permissions.

Also, the full command I usually run is:

chown -R mobile:mobile /var/mobile/Library/Preferences/XBMC
find quote
rflores2323 Offline
Posting Freak
Posts: 1,950
Joined: Jan 2009
Reputation: 2
Post: #10
dazex Wrote:Most likely your ssh key on the ATV2 was changed so putty is closing to protect you. This happens if you reflash your ATV2 since the last time you putty into it.

Search google on ways to clear your ssh key cache.

Ok I did the below

Quote:Clear putty cache

1. Open the registry (regedit)
2. Go to HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys
3. delete host key for the atv2

I tried to go into putty and I get a popup that says the server hostkey is not cache in the registry. blah blah blah...if you trust this host hit yes... so I hit yes. then ask me for my login and password (root and alpine) and then I get a connection closed by remote host.

ATV1 with crystalbuntu V1 (11.eden). Theater remote URC MX-810, droidx wtih xbmc remote, or transformer tf101 with YATSE. 2 x ATV2 (V12.0 Eden).

find quote
Post Reply