[AppleTV 1] ssh Connection refused
#1
I had to install a new router. The new one is a Buffalo running DD-WRT v24-sp2.

For reasons I don't understand I can no longer telnet or ssh into my ATV1:

Code:
Vim:~ root# telnet 192.168.0.138
Trying 192.168.0.138...
telnet: Unable to connect to remote host: Connection refused
Vim:~ root# ssh [email protected]
ssh: connect to host 192.168.0.138 port 22: Connection refused

(I can still ssh into my ATV2)

I can ftp into my ATV1:

Code:
ftp> open 192.168.0.138
Connected to 192.168.0.138.
220 slurp FTP server (tnftpd 20040810) ready.
Name (192.168.0.138:mnewman): frontrow
331 Password required for frontrow.
Password:
230 User frontrow logged in.
Remote system type is UNIX.
Using binary mode to transfer files.

I can connect via Remote HD. XBMC still works.

Just can't telnet or ssh.

How can I fix this?
Reply
#2
No clues, huh?

Oddly, if I connect to my Apple TV using Remote HD and then start the System Preferences, I can open the Sharing PP and enable Remote Login (SSH). Then I can ssh into the machine, until the next time that it restarts. Then I get the connection refused message again.

Here's what ssh.plist looks like. Any obvious errors?

Code:
-bash-2.05b$ cat ssh.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Disabled</key>
    <true/>
    <key>Label</key>
    <string>com.openssh.sshd</string>
    <key>Program</key>
    <string>/usr/libexec/sshd-keygen-wrapper</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/sbin/sshd</string>
        <string>-i</string>
    </array>
    <key>SessionCreate</key>
    <true/>
    <key>Sockets</key>
    <dict>
        <key>Listeners</key>
        <dict>
            <key>Bonjour</key>
            <array>
                <string>ssh</string>
                <string>sftp-ssh</string>
            </array>
            <key>SockServiceName</key>
            <string>ssh</string>
        </dict>
    </dict>
    <key>StandardErrorPath</key>
    <string>/dev/null</string>
    <key>inetdCompatibility</key>
    <dict>
        <key>Wait</key>
        <false/>
    </dict>
</dict>
</plist>
Reply

Logout Mark Read Team Forum Stats Members Help
[AppleTV 1] ssh Connection refused0