Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: ssh job not found nog steeds problemen  (gelezen 388 keer)

Offline robinjoo1

  • Lid
ssh job not found nog steeds problemen
« Gepost op: 2014/06/01, 21:43:41 »
opgelost openssh gepurged en dropbear geinstalleerd werkt nu wel goed
« Laatst bewerkt op: 2014/06/02, 16:49:42 door robinjoo1 »

Offline Vistaus

  • Webteam
    • vistaus
  • Steunpunt: Nee
Re: ssh refused?
« Reactie #1 Gepost op: 2014/06/01, 22:22:37 »
SSH van en naar mijn smartphone doet het prima out-of-the-box hier, met en zonder Putty. Waar probeer je op in te loggen (op welk apparaat)?

Offline robinjoo1

  • Lid
Re: ssh refused?
« Reactie #2 Gepost op: 2014/06/01, 22:24:56 »
SSH van en naar mijn smartphone doet het prima out-of-the-box hier, met en zonder Putty. Waar probeer je op in te loggen (op welk apparaat)?

van mijn desktop met ubuntu
naar mijn laptop met ubuntu allebei kunnen ze elkaar zien er staat imers ook een webserver op de desktop
maar toch refused
SFTP
lukt wel

Offline Vistaus

  • Webteam
    • vistaus
  • Steunpunt: Nee
Re: ssh refused?
« Reactie #3 Gepost op: 2014/06/01, 22:27:07 »
En als je via Nautilus (de bestandsbeheerder van Ubuntu) in de linkerzijbalk kiest voor Verbinden met server en dan zo probeert te verbinden middels SSH, werkt het dan wel? Want dat werkt hier dus prima.

Offline robinjoo1

  • Lid
Re: ssh refused?
« Reactie #4 Gepost op: 2014/06/01, 22:31:03 »
En als je via Nautilus (de bestandsbeheerder van Ubuntu) in de linkerzijbalk kiest voor Verbinden met server en dan zo probeert te verbinden middels SSH, werkt het dan wel? Want dat werkt hier dus prima.

dit is ook een log
[spoiler]
root@robin-Aspire-5733:/home/robin# service ssh status
ssh: unrecognized service
root@robin-Aspire-5733:/home/robin# apt-get install openssh-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libck-connector0 ncurses-term openssh-sftp-server python-requests
  python-urllib3 ssh-import-id
Suggested packages:
  rssh molly-guard monkeysphere
The following NEW packages will be installed:
  libck-connector0 ncurses-term openssh-server openssh-sftp-server
  python-requests python-urllib3 ssh-import-id
0 upgraded, 7 newly installed, 0 to remove and 9 not upgraded.
Need to get 698 kB of archives.
After this operation, 3832 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://nl.archive.ubuntu.com/ubuntu/ trusty/main libck-connector0 amd64 0.4.5-3.1ubuntu2 [10,5 kB]
Get:2 http://nl.archive.ubuntu.com/ubuntu/ trusty/main ncurses-term all 5.9+20140118-1ubuntu1 [243 kB]
Get:3 http://nl.archive.ubuntu.com/ubuntu/ trusty-updates/main openssh-sftp-server amd64 1:6.6p1-2ubuntu2 [34,1 kB]
Get:4 http://nl.archive.ubuntu.com/ubuntu/ trusty-updates/main openssh-server amd64 1:6.6p1-2ubuntu2 [319 kB]
Get:5 http://nl.archive.ubuntu.com/ubuntu/ trusty/main python-urllib3 all 1.7.1-1build1 [38,9 kB]
Get:6 http://nl.archive.ubuntu.com/ubuntu/ trusty/main python-requests all 2.2.1-1 [42,5 kB]
Get:7 http://nl.archive.ubuntu.com/ubuntu/ trusty/main ssh-import-id all 3.21-0ubuntu1 [9624 B]
Fetched 698 kB in 0s (971 kB/s)       
Preconfiguring packages ...
Selecting previously unselected package libck-connector0:amd64.
(Reading database ... 224557 files and directories currently installed.)
Preparing to unpack .../libck-connector0_0.4.5-3.1ubuntu2_amd64.deb ...
Unpacking libck-connector0:amd64 (0.4.5-3.1ubuntu2) ...
Selecting previously unselected package ncurses-term.
Preparing to unpack .../ncurses-term_5.9+20140118-1ubuntu1_all.deb ...
Unpacking ncurses-term (5.9+20140118-1ubuntu1) ...
Selecting previously unselected package openssh-sftp-server.
Preparing to unpack .../openssh-sftp-server_1%3a6.6p1-2ubuntu2_amd64.deb ...
Unpacking openssh-sftp-server (1:6.6p1-2ubuntu2) ...
Selecting previously unselected package openssh-server.
Preparing to unpack .../openssh-server_1%3a6.6p1-2ubuntu2_amd64.deb ...
Unpacking openssh-server (1:6.6p1-2ubuntu2) ...
Selecting previously unselected package python-urllib3.
Preparing to unpack .../python-urllib3_1.7.1-1build1_all.deb ...
Unpacking python-urllib3 (1.7.1-1build1) ...
Selecting previously unselected package python-requests.
Preparing to unpack .../python-requests_2.2.1-1_all.deb ...
Unpacking python-requests (2.2.1-1) ...
Selecting previously unselected package ssh-import-id.
Preparing to unpack .../ssh-import-id_3.21-0ubuntu1_all.deb ...
Unpacking ssh-import-id (3.21-0ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Setting up libck-connector0:amd64 (0.4.5-3.1ubuntu2) ...
Setting up ncurses-term (5.9+20140118-1ubuntu1) ...
Setting up openssh-sftp-server (1:6.6p1-2ubuntu2) ...
Setting up openssh-server (1:6.6p1-2ubuntu2) ...
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
Creating SSH2 ECDSA key; this may take some time ...
Creating SSH2 ED25519 key; this may take some time ...
initctl: Unknown job: ssh
Setting up python-urllib3 (1.7.1-1build1) ...
Setting up python-requests (2.2.1-1) ...
Setting up ssh-import-id (3.21-0ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
root@robin-Aspire-5733:/home/robin# ^C
[/spoiler]
toen ik het manueel probeerde te installeren
« Laatst bewerkt op: 2014/06/02, 21:26:49 door asphyxia »

Offline robinjoo1

  • Lid
Re: ssh refused?
« Reactie #5 Gepost op: 2014/06/01, 22:34:24 »
hier is wat ik ook krijg


Offline robinjoo1

  • Lid
Re: ssh refused?
« Reactie #6 Gepost op: 2014/06/01, 23:06:54 »
krijg ook veel eerror


root@robin-Aspire-5733:/home/robin# gedit /etc/ssh/sshd_config

(gedit:9772): dconf-WARNING **: failed to commit changes to dconf: The connection is closed

** (gedit:9772): CRITICAL **: log.vala:104: Unable to connect to Zeitgeist: The connection is closed

(gedit:9772): dconf-WARNING **: failed to commit changes to dconf: The connection is closed

(gedit:9772): dconf-WARNING **: failed to commit changes to dconf: The connection is closed
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)

(gedit:9772): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(gedit:9772): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(gedit:9772): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(gedit:9772): dconf-WARNING **: failed to commit changes to dconf: The connection is closed

(gedit:9772): dconf-WARNING **: failed to commit changes to dconf: The connection is closed

(gedit:9772): dconf-WARNING **: failed to commit changes to dconf: The connection is closed

** (gedit:9772): CRITICAL **: Unable to connect to Zeitgeist's DataSourceRegistry: The connection is closed

Offline robinjoo1

  • Lid
Re: ssh refused?
« Reactie #7 Gepost op: 2014/06/01, 23:20:18 »
output

robin@robin-Aspire-5733:~$ ps ax | grep sshd
  972 ?        Ss     0:00 /usr/sbin/sshd -D
 2835 pts/1    S+     0:00 grep --color=auto sshd


deel opgelost

met commando

/etc/init.d/ssh start

alleen waarom doet de upstart het dan niet ???


hij doet het

root@robin-Aspire-5733:~# service ssh status
ssh start/running, process 6013
root@robin-Aspire-5733:~# service ssh stop
ssh stop/waiting
root@robin-Aspire-5733:~# service ssh status
ssh stop/waiting
root@robin-Aspire-5733:~# ps -e | grep ssh
root@robin-Aspire-5733:~# ps -e | grep sshd


das niet echt normaal maar .....
« Laatst bewerkt op: 2014/06/02, 00:28:36 door robinjoo1 »