Re: [CalgaryUNIX] allow ssh server with Shaw

caziz <[email protected]> Wed, 14 Dec 2016 23:18:57 -0700
Newsgroups gmane.org.user-groups.linux.calgary.general
Organization APR Ltd
Message-ID <[email protected]>
ssh from LAN works  ssh [email protected]
caziz@apr01$ ssh -v [email protected]
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.0.129 [192.168.0.129] port 22.
debug1: Connection established.
debug1: identity file /home/caziz/.ssh/id_rsa type -1
debug1: identity file /home/caziz/.ssh/id_rsa-cert type -1
debug1: identity file /home/caziz/.ssh/id_dsa type -1
debug1: identity file /home/caziz/.ssh/id_dsa-cert type -1
debug1: identity file /home/caziz/.ssh/id_ecdsa type -1
debug1: identity file /home/caziz/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/caziz/.ssh/id_ed25519 type -1
debug1: identity file /home/caziz/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8
debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8 pat OpenSSH_6.6.1* compat 0x04000000
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr [email protected] none
debug1: kex: client->server aes128-ctr [email protected] none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ECDSA b0:33:de:db:2b:25:ee:a8:79:e0:bb:79:45:44:0e:3a
debug1: Host '192.168.0.129' is known and matches the ECDSA host key.
debug1: Found key in /home/caziz/.ssh/known_hosts:14
debug1: ssh_ecdsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/caziz/.ssh/id_rsa
debug1: Trying private key: /home/caziz/.ssh/id_dsa
debug1: Trying private key: /home/caziz/.ssh/id_ecdsa
debug1: Trying private key: /home/caziz/.ssh/id_ed25519
debug1: Next authentication method: password
[email protected]'s password:
debug1: Authentication succeeded (password).
Authenticated to 192.168.0.129 ([192.168.0.129]:22).
debug1: channel 0: new [client-session]
debug1: Requesting [email protected]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_CA.UTF-8
Welcome to Linux Mint 17.2 Rafaela (GNU/Linux 3.16.0-38-generic x86_64)

Welcome to Linux Mint
  * Documentation:  http://www.linuxmint.com
You have new mail.
Last login: Wed Dec 14 22:51:24 2016 from 192.168.0.129
Running .bash_profile ...... <<>>
Running  /home/common/scripts/set_envAPR as dot script
Running  /home/caziz/myscripts/mydefs as dot script
-bash Set std temp defs in this script updated Nov 06, 2016
  Here points to /home/caziz
caziz@apr01$ # and I am in (ssh ed to self )
caziz@apr01$ # and I am in (ssh ed to self )
caziz@apr01$ exit
logout
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype [email protected] reply 0
debug1: channel 0: free: client-session, nchannels 1
Connection to 192.168.0.129 closed.
Transferred: sent 3724, received 3876 bytes, in 64.3 seconds
Bytes per second: sent 57.9, received 60.2
debug1: Exit status 0


  but

ssh [email protected]  # just sits and hangs

caziz@apr01$ ssh -v [email protected]
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 68.145.134.150 [68.145.134.150] port 22.

#  it is trying .... what is missing?

caziz@apr01$ ps aux | grep -i ssh
root      1313  0.0  0.0  61384  5396 ?        Ss   17:55   0:00 /usr/sbin/sshd -D
caziz    10035  0.0  0.0  44036  5000 pts/24   S+   22:55   0:00 ssh -v [email protected]
caziz    10055  0.0  0.0  10416  1664 pts/27   S+   22:57   0:00 grep --color=auto -i ssh



need to tell something that default is my desktop or some config setting needs change?

Chris


On 16-12-14 08:25 PM, Brett Wuth wrote:
> Chris,
>
> I've been using ssh into my server through Shaw for years.  There was no
> set up required, port 22 was always open.
>
> My circumstances may be different than yours.  I'm in Pincher Creek
> rather than Calgary.  I'm using a 2009-era Motorola SURFBoard SB5102
> Shaw cable modem.
>
> -- Brett
>
> On 2016-12-14 18:20, caziz wrote:
>> agree 22 is std port  although some newer stuff insists on port 2222
>>
>> with Telus there was a tab that let you allow a specific service (like
>> ssh server)  on a specific machine on the LAN
>>
>> we just couldn't get a tab that looked right.   will browse again with
>> Tony and focus the question
>>
>> Has someone done what we want (on Shaw) ?
>>
>> Cheers,
>> Chris
>>
>>
>> On 16-12-14 06:13 PM, Zander Robertson wrote:
>>> Don't you just have to unblock the port? Usually 22 I belive.
>>>
>>> On 14 Dec 2016 6:12 p.m., "caziz"
>>> <<mailto:[email protected]>[email protected]> wrote:
>>>
>>>      Hey Guys,
>>>
>>>      We want to  allow my  Linux Mint desktop to be the ssh server on
>>>      landlord's Shaw internet
>>>
>>>      spent 30 minutes with landlord's son and could not find the right
>>>      tab to enable ssh service
>>>
>>>      How does one make it so with Shaw?
>>>
>>>      It was easy on my old  telus router :-(
>>>
>>>      Thanks,
>>>      Chris
>>>
>>>
>>>      _______________________________________________
>>>      clug-talk mailing list
>>>      [email protected] <mailto:[email protected]>
>>>      http://clug.ca/mailman/listinfo/clug-talk_clug.ca
>>>      <http://clug.ca/mailman/listinfo/clug-talk_clug.ca>
>>>      Mailing List Guidelines (http://clug.ca/ml_guidelines.php
>>>      <http://clug.ca/ml_guidelines.php>)
>>>      **Please remove these lines when replying
>>>
>>>
>>>
>>> _______________________________________________
>>> clug-talk mailing list
>>> [email protected]
>>> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
>>> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
>>> **Please remove these lines when replying
>>
>>
>> _______________________________________________
>> CalgaryUNIX mailing list
>> [email protected]
>> http://www.cuug.ab.ca/cgi-bin/mailman/listinfo/calgaryunix
>>
> _______________________________________________
> CalgaryUNIX mailing list
> [email protected]
> http://www.cuug.ab.ca/cgi-bin/mailman/listinfo/calgaryunix
>


_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying