New Terminal tab same ssh connection

How do I open a new terminal tab so that it opens the same remote ssh connection as my current tab?

ssh connections are a single process running in one shell, and when you create a new tab you are creating a new local shell that will not be running this process. Furthermore the remote server will not accept a duplicate connection from you without authentication. In essence, this is impossible to do. The closest thing you can do is make use of the bash history, and press the up arrow to scroll through your most recent commands until you get to the ssh command you used for your current connection, and then execute it.
If the connection is a standard one you regularly use, then you can bookmark it in your .bashrc file by creating a function that points to it. For instance, the following in your .bashrc file would make a specific ssh connection be run by entering "myserver" at the command line:
function myserver() {
     ssh username|password@hostname
You can leave out the password option to have it prompt you for the password each time (it is also more secure to leave out the password).

Similar Messages

  • Terminal Tab Names (SSH host)

    I am trying to change the termnal tabs to show the remote hostame that I am connecting to with SSH. I have tried a few exports, and have not found the one that will provide the remote hostname in the tab.

    Here's a solution that might work.
    Open a terminal window and edit your bash profile:
         pico ~/.bash_profile
    In the profile, add the following function:
         function tabname {
              printf "\e]1;$1\a"
    Save and quit the editor (control-o, control-x), and then create a new bash session. Now when you type the following command you can change the name of the tab:
         tabname NAME
    (credit to The Lucid for this: http://thelucid.com/2012/01/04/naming-your-terminal-tabs-in-osx-lion/)
    With this setup, you can add this command before your ssh command in the following manner:
         tabname NAME; ssh username@host
    You can also script this behavior in the following manner. First create a script called "myssh.sh" or something similar, and then add the following to it:
         !#/bin/bash
         printf "\e]1;`echo $1 | sed -Ee 's/^.+\@//'`\a"
         ssh $1
         printf "\e]1;bash\a"
    When you run the script, use it as a replacement for the ssh command (if you need to add arguments, then encase them in quotes or escape the spaces between them). For example, see below:
         ./myssh.sh "-p 22 [email protected]"
         or...
         ./myssh.sh -p\ 22\ [email protected]
    If there are no arguments then you can simply use the following:
         ./myssh.sh [email protected]
    One issue with this script is that if you cancel the connection or otherwise kill the command without doing so cleanly, then the script will halt and leave the name of the tab as the hostname. The last line of the script should rename the tab back to "bash" when done if the ssh session exits cleanly and allows the script to continue.

  • /usr/sbin/PasswordService - no more terminal windows; no ssh connections

    Hi ! I'm using OS X server 10.4.6
    it's the second time I see this behaviour.
    A while ago I coun't connect to my server via ssh and I kept getting a
    "/usr/sbin/PasswordService: Client response doesn't match what we generated". I introduced the password but the client seemed to hang after I type it.
    Also I've noticed that for some reason I couln't open more terminals.
    I always got [Process Completed].
    I rebooted the server and everything seems ok, except the fact that when
    I type "w" on a terminal, I get 29 admin entries on tty's:
    p1 -> p9
    pa -> pf
    q0 -> q9
    qa -> qf
    I don't have a clue about what happened here but at least I can open more terminals, and ssh connections are ok.
    Can anyone help me with is ?
    Thanks !
    David
    This is the Exited process.crash.log
    Host Name: myserver
    Date/Time: 2006-05-04 16:42:29.238 +0100
    OS Version: 10.4.6 (Build 8I127)
    Report Version: 4
    Command: Exited process
    Path: Exited process
    Parent: kernel_task [0]
    Version: ??? (???)
    PID: 1213
    Thread: Unknown
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNINVALIDADDRESS (0x0001) at 0x5f353233
    (null)
    Unknown thread crashed with PPC Thread State 64:
    srr0: 0x0000000000098618 srr1: 0x100000000200f030 vrsave: 0x0000000000000000
    cr: 0x48000242 xer: 0x0000000000000000 lr: 0x000000000008e70c ctr: 0x00000000000985fc
    r0: 0x0000000000000001 r1: 0x00000000f0182480 r2: 0x00000000014bf0d4 r3: 0x0000000000000000
    r4: 0x0000000000000048 r5: 0x0000000000000054 r6: 0xffffffffffffffff r7: 0x000000000000001e
    r8: 0x00000000000985fc r9: 0x000000005f353237 r10: 0x00000000014bf0dc r11: 0x00000000f018248c
    r12: 0x0000000090008aa0 r13: 0x00000000015e9004 r14: 0x00000000014bf0d8 r15: 0x00000000014bf0bc
    r16: 0x00000001015e8f10 r17: 0x00000000018676ac r18: 0x00000000014bf0d4 r19: 0x00000000015e8f5c
    r20: 0x0000000000000000 r21: 0x0000000000000000 r22: 0x0000000000000000 r23: 0x0000000000000000
    r24: 0x0000000000000000 r25: 0x0000000001867778 r26: 0x0000000000000000 r27: 0x00000000015e9004
    r28: 0x00000000015e9004 r29: 0x0000000000118000 r30: 0x00000000015e9004 r31: 0x000000000008c914
    Binary Images Description:

    /dev/zero wrote:
    virusso80 wrote:I just updated the system
    Please show the output of this:
    tail --lines=+$(grep -on Running /var/log/pacman.log | tail -2 | head -1 | awk -F':' '{print $1}') /var/log/pacman.log
    It will show the logs from your last couple of pacman updates.
    Thanks for the answer. Just to be more complete I reported all the logs related to the update, in such a way to understand what happened...maybe. You'll see some errors with grep. I reinstalled grep and that error was no more there...i think:
    ngoonee wrote:You're trying all the alsa-based trouble-shooting techniques while running pulse? What's pavucontrol show?
    I installed pavucontrol and this is the output while playing an mp3 file:
    ** (pavucontrol:25504): DEBUG: Error reading config file /home/virus/.config/pavucontrol.ini: No such file or directory
    ** (pavucontrol:25504): DEBUG: Failed to initialize device manager extension: No such extension
    ** (pavucontrol:25504): DEBUG: Ignoring sink-input due to it being designated as an event and thus handled by the Event widget
    ... more line like this...
    I don't know if it is useful but it seems that when i play something i can hear some little noise...like a mosquito.
    Thanks again
    Last edited by virusso80 (2012-03-02 09:35:17)

  • [kinda solved] terminal colors on ssh connection

    Using ssh on a headless server and I get orange (?) instead of black color , so some ncurses interface are really messed up.
    My default $TERM seems to be xterm-color , someone has a more sane configuration for this cases ?
    Thanks
    edit:
    I'm using konsole btw
    edit2:
    It's konsole messed up , sorry
    Last edited by mangus (2012-03-21 20:15:37)

    Oh, that would be great! ...seems like ssh access is a pretty basic and useful function.   Like alot of users, I naturally want to learn more about iptables, but the learning curve is probably fairly steep...a shortcut woul be nice in the meantime.  Thanks!
    The wiki article I followed was this one:
    https://wiki.archlinux.org/index.php/Si … l_firewall
    --cheers.

  • I just bought a new Iphone and when I connected it to itunes and I downloaded the backup from my last device, now I can't pass this step and every time I connect it to itunes is the same thing.

    I just bought a new Iphone and when I connected it to itunes and I downloaded the backup from my last device, now I can't pass this step and every time I connect it to itunes is the same thing. And I can't download any app because problems with my account regarding the credit card but the information is correct and it says it is not!!!

    You'll have to contact iTunes store support regarding your credit card information problem: http://www.apple.com/emea/support/itunes/contact.html.  I'm not clear on what you're saying about your backup.  Are you saying that when you connect to iTunes it's asking you to restore from backup even though you already have?

  • Cannot open Google search results in tab\same window\new window

    Google search results are not opening in the new tab\same window\new window.<br />
    It is happening only in Firefox, Internet explorer. It is working fine in chrome.<br />
    I have tried many solutions like<br />
    1. cleared cache, history,everything from browser's, still no result.<br />
    2. opened in safe mode, no result.<br />
    3. unchecked hardware acceleration, still no result.<br />
    4. Other search engines it is working fine, only problem with Google search engine.<br />
    5. Tried changing my DNS (Google open DNS, others), no result.<br />
    6. Checked with antivirus blocking, nothing is blocking.<br />
    7. Reinstalled browsers(Firefox, explorer) no result.<br />
    8. Tried with different versions of browsers, including the latest updates ( Firefox,explorer), no result.<br />
    9. while disabling Java in about:config it is working in Firefox.<br />
    Please help me on this issue.<br />
    Thanks in advance.

    Google normally routs the result link to their safe browsing testing service via an onmousedown event that modifies the link (href attribute) if you click it once.
    You can check if this bookmarklet makes a difference:
    <pre><nowiki>javascript:(function(){var e=document.querySelectorAll('#search a[onmousedown]'),E,i;for(i=0;E=e[i];i++){E.removeAttribute('onmousedown')}})()</nowiki></pre>
    Do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    *https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware

  • Can I open new terminal window with the same path?

    Hello.
    I use Terminal for bash-shell.
    When I work at a certain directory, can i open new terminal(command + N) with the same directory?
    For example, when i am in /Developer and press command+N, I want a new terminal window with /Developer path.
    Thanks for reading and I'm sorry for my short english.

    Command-N will open a new Terminal window in your Home (~) Directory by default.
    Use the "Open Terminal Here" script for more control
    http://www.entropy.ch/software/applescript/

  • HT4623 wi-fi is gray will not connect since ios7.03 worked fine before this version...now slow, no wi-fi no solution from apple store but to purchase a new Iphone....other 4s phone purchased at same time connects via wi=fi what gives

    wi-fi is gray will not connect since ios7.03, worked fine before this version...now slow, very slow, using nothing but 4g, no wi-fi no solution from apple store but to purchase a new Iphone....other 4s phone purchased at same time connects via wi-fi what gives?
    Also reloaded per Apple instructions via web, Apple stores only solution "purchase a new phone", no attempt to fix problem.

    https://discussions.apple.com/thread/5554599?tstart=0

  • I'm puzzled. Firefox on my home PC shows thumbnails of frequently-used pages in New Tab; same version of Firefox at work does not. Am I missing something?

    I'm not sure if I can add any more details. There is apparently a way to have thumbnails of frequently-visited pages show when opening a new blank tab. It works at home, but is not enabled at work, and I can't figure out where that option is located.

    When you open the desktop sync page (Tools > options > sync) does it look like the image below? If it does not then sync is not setup on the desktop computer.
    If that looks similar then the other half would be to get an [https://play.google.com/store/apps/details?id=org.jtb.alogcat&hl=en aLogcat] log from your device when attempting to pair the device. Following the directions at http://160.twinql.com/how-to-file-a-good-android-sync-bug

  • New terminal windows from inside a terminal window?

    So, I have some work to do that will require me to make multiple ssh connections to the same host. Likewise with scp, sometimes.
    My thought is to use ssh-agent to enter my password once, and subsequent connections to the host will be automatic.
    However, in order to do that, I need to be able to cleanly tell Terminal to spawn new windows as children of the current window. Working through /Applications/Utilities/Terminal.app/etc. works, but doesn't strike me as very elegant.
    Did Apple incorporate an "xterm"-like shell command that spawns a child window from whatever terminal window you happen to be in?
    Thanks!
    David

    Start '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift ''(Mac Options)'' >''' key, and then starting Firefox. Is the problem still there?
    '''https://support.mozilla.org/en-US/kb/firefox-slow-how-make-it-faster'''
    '''https://support.mozilla.org/en-US/kb/firefox-uses-too-many-cpu-resources-how-fix'''
    '''https://support.mozilla.org/en-US/kb/firefox-hangs-or-not-responding'''

  • App hangs on tab click if connection in use

    If tab one is using connection1 and running a script and i click on tab2 which is also connected using connection1, the app hangs until tab1 finishes the script it was running and connection1 is again free.
    Shouldnt each tab really open a new connection with the same parameters as the connection from the connections list? If not then it should at least not let you select any tabs using connection1 while connection1 is busy so that you can continue working on tabs with other connections.
    I am using 1.5.0.53 on windowsxp.
    Thanks

    By default, all worksheets use the same single threaded connection. To get a worksheet with an unshared connection, use ctrl-shift-N

  • Setting Printmotd to yes in sshd_config disallows SSH connections

    Once I set Printmotd to yes, HUP the ssh daemon and try to establish a ssh connection, it just hangs indefinitely after accepting the password. This is on Solaris 9 with Open SSL. I have checked the following:
    1. The sshd_config file is not the problem as it runs okay on another server without a problem.
    2. Eliminated the possibility of a connection between the version of Solaris and the OpenSSL version by testing it on another server with the same versions.
    3. Identified that only the Printmotd setting is causing new ssh connections to hang on these domains.
    4. Checked that the sshd binary is also working fine by transporting it across to another test server.
    5. Replicated the same settings as they exist on the other Solaris 9 server to these domains, however the ssh connections still failed.
    6. Investigated the /etc/profile settings as well and they are the the same.
    I have checked the permissions of /etc/issue and those are different. Can that be the cause of the problem? or is it something else that I have overlooked?

    Using debug mode, when I try to login I get the completely same set of messages that i would get when ssh is working, except it hangs at the point indicated below:
    debug1: next auth method to try is password
    d36@nuspe's password:
    debug1: ssh-userauth2 successfull: method password
    debug1: channel 0: new [client-session]
    debug1: send channel open 0
    debug1: Entering interactive session.
    debug1: client_init id 0 arg 0
    debug1: channel request 0: shell
    debug1: channel 0: open confirm rwindow 0 rmax 32768 -> Stops here
    A successful ssh connection goes from the previous line to:
    Last login: Mon Jun 15 13:38:48 2009 from nus007

  • Open discoverer report in new browser window and without connections page

    Hi All,
    We are using Oracle 11g Discoverer 11.1.1.4.  Requirement is to open the discoverer report in a new browser window and without connections page.
    When we are running discoverer reports with this parameters we unwantedly get the connections page of the discoverer plus which we don't want.
    Went through the documentation given in this page and followed it still the issue persists, and i see couple of threads with my issue and no updates.
    This excerpt is from the documentation available in the link
    " _plus_popup=true and framedisplaystyle=embedded launches Discoverer Plus in a new pop-up browser window that contains the Plus applet embedded in it "
    http://www.art2dec.com/documentation/docs/oas10g1012/linux/bi.1012/b13918/urlstart.htm
    and Here is what we use to invoke our reports.
    http://ipaddress:port/discoverer/plus?cn=cf_123&_plus_popup=TRUE&framedisplaystyle=EMBEDDED&wb=disc_wb_1
    Request the forum users from PRO discoverer group to help me out of this issue and expect a good discussion on this.
    Thanks in advance

    Closing the thread
    We were able to achieve by changing the browser settings in the IE 8 Browser. Disabled Tabbed browsing.

  • Problems with SSH: Connection Refused

    Greetings fellow Arch users,
    I have hit a bit of a snag that I could really use some extra help getting around. I've tried everything I can think of (and everything that Google thought might work) and I have my back rather against a wall, so I thought I'd come here to see if anyone can offer some advice.
    To make a long story short, I am a college student and am attempting to set up an ssh server on a desktop at my house so I can access it remotely from the college. I have the computer set up and the server running, however I am having difficulty making connections to it from my laptop. I know that the server is running, because I can log into it both from the server itself (sshing into local host) and from my laptop when I use the internal IP address.
    The server is on a static IP address within the network(192.168.0.75), and my router is configured to forward TCP port 1500 to it (I'm using 1500 as the port for my ssh server). However, when I attempt to log into the ssh server using my network's external IP address, the connection is refused. I used nmap to scan my network and found that, even though the proper ports are forwarded to the proper place as far as my Router's configuration interface is concerned, port 1500 is not listed as one of the open TCP ports. I also, to test it, temporarily disabled the firewalls on both the server and the client. That didn't help. The command that I am running is:
    ssh -p 1500 douglas@[external ip address
    As I am really not sure what is causing this problem, I don't know what information to provide. So here is everything that my inexperienced mind sees as likely being important. If you need anything more, let me know and I will do my best to provide it.
    Here is the sshd_config file from my server.
    # This is the sshd server system-wide configuration file. See
    # sshd_config(5) for more information.
    # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
    # The strategy used for options in the default sshd_config shipped with
    # OpenSSH is to specify options with their default value where
    # possible, but leave them commented. Uncommented options override the
    # default value.
    Port 1500
    #AddressFamily any
    #ListenAddress 0.0.0.0
    #ListenAddress ::
    # The default requires explicit activation of protocol 1
    #Protocol 2
    # HostKey for protocol version 1
    #HostKey /etc/ssh/ssh_host_key
    # HostKeys for protocol version 2
    #HostKey /etc/ssh/ssh_host_rsa_key
    #HostKey /etc/ssh/ssh_host_dsa_key
    #HostKey /etc/ssh/ssh_host_ecdsa_key
    # Lifetime and size of ephemeral version 1 server key
    #KeyRegenerationInterval 1h
    #ServerKeyBits 1024
    # Ciphers and keying
    #RekeyLimit default none
    # Logging
    # obsoletes QuietMode and FascistLogging
    #SyslogFacility AUTH
    #LogLevel INFO
    # Authentication:
    #LoginGraceTime 2m
    PermitRootLogin no
    #StrictModes yes
    #MaxAuthTries 6
    #MaxSessions 10
    #RSAAuthentication yes
    #PubkeyAuthentication yes
    # The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
    # but this is overridden so installations will only check .ssh/authorized_keys
    AuthorizedKeysFile .ssh/authorized_keys
    #AuthorizedPrincipalsFile none
    #AuthorizedKeysCommand none
    #AuthorizedKeysCommandUser nobody
    # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
    #RhostsRSAAuthentication no
    # similar for protocol version 2
    #HostbasedAuthentication no
    # Change to yes if you don't trust ~/.ssh/known_hosts for
    # RhostsRSAAuthentication and HostbasedAuthentication
    #IgnoreUserKnownHosts no
    # Don't read the user's ~/.rhosts and ~/.shosts files
    #IgnoreRhosts yes
    # To disable tunneled clear text passwords, change to no here!
    #PasswordAuthentication yes
    #PermitEmptyPasswords no
    # Change to no to disable s/key passwords
    ChallengeResponseAuthentication no
    # Kerberos options
    #KerberosAuthentication no
    #KerberosOrLocalPasswd yes
    #KerberosTicketCleanup yes
    #KerberosGetAFSToken no
    # GSSAPI options
    #GSSAPIAuthentication no
    #GSSAPICleanupCredentials yes
    # Set this to 'yes' to enable PAM authentication, account processing,
    # and session processing. If this is enabled, PAM authentication will
    # be allowed through the ChallengeResponseAuthentication and
    # PasswordAuthentication. Depending on your PAM configuration,
    # PAM authentication via ChallengeResponseAuthentication may bypass
    # the setting of "PermitRootLogin without-password".
    # If you just want the PAM account and session checks to run without
    # PAM authentication, then enable this but set PasswordAuthentication
    # and ChallengeResponseAuthentication to 'no'.
    UsePAM yes
    #AllowAgentForwarding yes
    #AllowTcpForwarding yes
    #GatewayPorts no
    #X11Forwarding no
    #X11DisplayOffset 10
    #X11UseLocalhost yes
    PrintMotd no # pam does that
    #PrintLastLog yes
    #TCPKeepAlive yes
    #UseLogin no
    UsePrivilegeSeparation sandbox # Default for new installations.
    #PermitUserEnvironment no
    #Compression delayed
    #ClientAliveInterval 0
    #ClientAliveCountMax 3
    #UseDNS yes
    #PidFile /run/sshd.pid
    #MaxStartups 10:30:100
    #PermitTunnel no
    #ChrootDirectory none
    #VersionAddendum none
    # no default banner path
    #Banner none
    # override default of no subsystems
    Subsystem sftp /usr/lib/ssh/sftp-server
    # Example of overriding settings on a per-user basis
    #Match User anoncvs
    # X11Forwarding no
    # AllowTcpForwarding no
    # ForceCommand cvs server
    The ouptut of ip addr when run on the server:
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever
    2: enp8s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:21:9b:3a:be:94 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.75/24 brd 192.168.255.0 scope global enp8s0
    valid_lft forever preferred_lft forever
    inet6 fe80::221:9bff:fe3a:be94/64 scope link
    valid_lft forever preferred_lft forever
    Here is the output from running nmap on the network:
    Starting Nmap 6.40 ( http://nmap.org ) at 2013-09-28 21:05 EDT
    Initiating Ping Scan at 21:05
    Scanning address [2 ports]
    Completed Ping Scan at 21:05, 0.01s elapsed (1 total hosts)
    Initiating Parallel DNS resolution of 1 host. at 21:05
    Completed Parallel DNS resolution of 1 host. at 21:05, 0.05s elapsed
    Initiating Connect Scan at 21:05
    Scanning pa-addresss.dhcp.embarqhsd.net (address) [1000 ports]
    Discovered open port 80/tcp on address
    Discovered open port 443/tcp on address
    Discovered open port 23/tcp on address
    Discovered open port 21/tcp on address
    Completed Connect Scan at 21:05, 4.08s elapsed (1000 total ports)
    Nmap scan report for pa-address.dhcp.embarqhsd.net (address)
    Host is up (0.036s latency).
    Not shown: 995 closed ports
    PORT STATE SERVICE
    21/tcp open ftp
    23/tcp open telnet
    80/tcp open http
    443/tcp open https
    8080/tcp filtered http-proxy
    Read data files from: /usr/bin/../share/nmap
    Nmap done: 1 IP address (1 host up) scanned in 4.19 seconds
    Here is the ssh_config client-side:
    # $OpenBSD: ssh_config,v 1.27 2013/05/16 02:00:34 dtucker Exp $
    # This is the ssh client system-wide configuration file. See
    # ssh_config(5) for more information. This file provides defaults for
    # users, and the values can be changed in per-user configuration files
    # or on the command line.
    # Configuration data is parsed as follows:
    # 1. command line options
    # 2. user-specific file
    # 3. system-wide file
    # Any configuration value is only changed the first time it is set.
    # Thus, host-specific definitions should be at the beginning of the
    # configuration file, and defaults at the end.
    # Site-wide defaults for some commonly used options. For a comprehensive
    # list of available options, their meanings and defaults, please see the
    # ssh_config(5) man page.
    # Host *
    # ForwardAgent no
    # ForwardX11 no
    # RhostsRSAAuthentication no
    # RSAAuthentication yes
    # PasswordAuthentication yes
    # HostbasedAuthentication no
    # GSSAPIAuthentication no
    # GSSAPIDelegateCredentials no
    # BatchMode no
    # CheckHostIP yes
    # AddressFamily any
    # ConnectTimeout 0
    # StrictHostKeyChecking ask
    # IdentityFile ~/.ssh/identity
    # IdentityFile ~/.ssh/id_rsa
    # IdentityFile ~/.ssh/id_dsa
    # Port 22
    Protocol 2
    # Cipher 3des
    # Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
    # MACs hmac-md5,hmac-sha1,[email protected],hmac-ripemd160
    # EscapeChar ~
    # Tunnel no
    # TunnelDevice any:any
    # PermitLocalCommand no
    # VisualHostKey no
    # ProxyCommand ssh -q -W %h:%p gateway.example.com
    # RekeyLimit 1G 1h
    Output of ssh -v during connection attempt:
    OpenSSH_6.3, OpenSSL 1.0.1e 11 Feb 2013
    debug1: Reading configuration data /home/douglas/.ssh/config
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to address [address] port 1500.
    debug1: connect to address address port 1500: Connection refused
    ssh: connect to host address port 1500: Connection refused
    Thank you guys ahead of time. Getting this server operational is hardly critical, it is just a side project of mine, but I would really like to see it working.
    Douglas Bahr Rumbaugh
    Last edited by douglasr (2013-09-29 02:58:56)

    Okay, so I finally have the opportunity to try and log in from a remote network. And. . .  it doesn't work. Which is just my luck because I now need to wait an entire week, at least, before I can touch the server again. Anyway, running ssh with the maximum verbosity I get this output:
    douglas ~ $ ssh -vvv -p 2000 address
    OpenSSH_6.3, OpenSSL 1.0.1e 11 Feb 2013
    debug1: Reading configuration data /home/douglas/.ssh/config
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to address [address] port 2000.
    debug1: connect to address address port 2000: Connection timed out
    ssh: connect to host address port 2000: Connection timed out
    It takes a minute or two for the command to finish with the connection timeout, as one would expect. And yes, I am reasonably sure that the address that I am using is my home network's external IP. It is dynamic, but I checked it before I left which was just over an hour ago. I guess that it may have changed. I'll know that for sure in the morning, when my server sends me an automatic email with the network's current address. In the meantime I am operating under the assumption that the address I am using is correct. What else could be the problem?

  • NEW IPOD NANO WILL NOT CONNECT CORRECTLY TO 2011 KIA SPORTAGE

    Have a new Ipod nano. when I connect it to 2011 Kia Sportage it does not display the song list correctly. Have cable that Kia sells and it worked with my old Nano but not not the new one. Same results with cable that came with new nano. Help please

    Alternatively, you can always use a double ended 3.5mm audio plug and just manipulate the playlist via the iPod and not the radio.

Maybe you are looking for

  • How do we remove our current phone numbers from our old iPhones?

    So my girlfriend and I both upgraded our iPhone 5 to the iPhone 6.  We backed up both phones and transferred everything to the new phones.  I was thinking about selling the phones but I noticed that my current number is still on my old phone and my g

  • Solaris 10 x86 JumpStart install not working

    I'm working with several Compaq DL380 servers. I've installed Solaris 10 x86 3/05 onto DL380 #1, and created a 3GB servername.flar Flash Archive of that system. I've moved that .flar file to a local web server. I can bring it up in any host's browser

  • Screen locks and goes black

    I will be mid-conversation and my screen will go black and will not come back to life no matter how many times i touch the screen, the home button, or the power button (not sure what the proper name is, but you're picking up what I'm throwing down, r

  • Making Adobe PDF with From Field Non-Savable

    Hello, I'm using Adobe Acrobat Professional ver 9 and have created an accessible course certificate form with a fillable field.  The user brings up the certificate, types their name in the field, and prints the certificate.  When they do this, the fo

  • Selecting Multiple Photo's for Sharing / Printing

    Hello everyone. Just a very quick question, I have forgotten how to select several photos to share or compile one piece of paper / email I though it was CLTR + F6 but its not! can some one remind me please. I wont ask again, promise! Thanks J