Getting started

Beside the GCE-6 I installed another (debian-10) machine. There I installed python3 and gvm-tools. To start I took list-tasks.gmp from git, but get the following:

./.local/bin/gvm-script -c .config/gvm-tools.conf ssh  list-tasks.gmp --hostname gsm
Traceback (most recent call last):
  File "./.local/bin/gvm-script", line 10, in <module>
  File "/home/tonnyv/.local/lib/python3.7/site-packages/gvmtools/", line 93, in main
    with protocol_class(connection, transform=transform) as protocol:
  File "/home/tonnyv/.local/lib/python3.7/site-packages/gvm/protocols/", line 80, in __enter__
    resp = self._send_xml_command(XmlCommand("get_version"))
  File "/home/tonnyv/.local/lib/python3.7/site-packages/gvm/protocols/", line 86, in _send_xml_command
    return self.send_command(xmlcmd.to_string())
  File "/home/tonnyv/.local/lib/python3.7/site-packages/gvm/protocols/", line 140, in send_command
    raise e
  File "/home/tonnyv/.local/lib/python3.7/site-packages/gvm/protocols/", line 137, in send_command
    response = self._read()
  File "/home/tonnyv/.local/lib/python3.7/site-packages/gvm/protocols/", line 63, in _read
  File "/home/tonnyv/.local/lib/python3.7/site-packages/gvm/", line 138, in read
    raise GvmError("Remote closed the connection")
gvm.errors.GvmError: Remote closed the connection

tcpdump om my debian showed a ‘normal’ ssh session and on the gsm:

gsm:/var/log# tail security.log
Nov 22 21:03:03 gsm sshd[7322]: Accepted password for admin from port 56816 ssh2
Nov 22 21:03:03 gsm sshd[7322]: pam_unix(sshd:session): session opened for user admin by (uid=0)
Nov 22 21:03:03 gsm sshd[7322]: pam_unix(sshd:session): session closed for user admin

but no other logs in /var/log/ that give more info. Anyone any idea as for what goes wrong or what I missed?


GCE does not support remote GMP access. You have to compile your installation on your own or buy a physical or virtual appliance.

1 Like

Thnx! Expected something like that … will be fun, at work we test the appliance, at home I will try the compile my own …