[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux_var] connessione a SSH: /bin/zsh access denied



Ciao,
sto impazzendo su una cosa.
(Ho cercato, ma non ho trovato nulla di utile.

Devo fare una cosa semplicissima: collegarmi via ssh al mio portatile, ma
ho questa risposta:
/bin/zsh: Permission denied.
lo stesso vale se uso come shell bash
in questo caso ho
/bin/bash

Di seguito tutto il log.
Da quanto ho capito, non è un problema di rete o di firewall.
La connessione avviene, ma cade subito.

Suggerimenti?


[lorenzo@volta]~% ssh -v lorenzo@localhost
OpenSSH_6.6.1, OpenSSL 1.0.1j-fips 15 Oct 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 51: Applying options for *
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug1: identity file /home/lorenzo/.ssh/id_rsa type 1
debug1: identity file /home/lorenzo/.ssh/id_rsa-cert type -1
debug1: identity file /home/lorenzo/.ssh/id_dsa type -1
debug1: identity file /home/lorenzo/.ssh/id_dsa-cert type -1
debug1: identity file /home/lorenzo/.ssh/id_ecdsa type -1
debug1: identity file /home/lorenzo/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/lorenzo/.ssh/id_ed25519 type -1
debug1: identity file /home/lorenzo/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1
debug1: match: OpenSSH_6.6.1 pat OpenSSH_6.6.1* compat 0x04000000
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none
debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ECDSA 35:21:7f:f3:7a:47:5f:8b:1f:87:9d:1b:7f:14:e0:c8
debug1: Host 'localhost' is known and matches the ECDSA host key.
debug1: Found key in /home/lorenzo/.ssh/known_hosts:1
debug1: ssh_ecdsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue:
publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Next authentication method: gssapi-keyex
debug1: No valid Key exchange context
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available

debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available

debug1: Unspecified GSS failure.  Minor code may provide more information


debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available

debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/lorenzo/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug1: key_parse_private2: missing begin marker
debug1: key_parse_private_pem: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
Enter passphrase for key '/home/lorenzo/.ssh/id_rsa':
debug1: key_parse_private2: missing begin marker
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
Authenticated to localhost ([127.0.0.1]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANGUAGE =
debug1: Sending env LANG = it_IT.UTF-8
Last login: Sun Dec 21 18:21:20 2014 from lorenzo.fritz.box
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
/bin/zsh: Permission denied
debug1: channel 0: free: client-session, nchannels 1
Connection to localhost closed.
Transferred: sent 3728, received 2696 bytes, in 0.1 seconds
Bytes per second: sent 27193.8, received 19665.9
debug1: Exit status 1

Lorenzo
_______________________________________________
Talking mailing list
Talking@ml.linuxvar.it
http://ml.linuxvar.it/cgi-bin/mailman/listinfo/talking