I still run into trouble when not having ssh-agent running, and trying to run the demo.py start while specifying the identity file with -i.
I get the following crash:
Traceback (most recent call last):
File "/home/slarse/Documents/github/work/trustfull-demonstrator/scripts/demo.py", line 860, in <module>
sys.exit(main(parse_args()))
File "/home/slarse/Documents/github/work/trustfull-demonstrator/scripts/demo.py", line 284, in main
return globals()[f"{args.subparser_name}_main"](args)
File "/home/slarse/Documents/github/work/trustfull-demonstrator/scripts/demo.py", line 320, in start_main
setup_vm(idx, n, vm)
File "/home/slarse/Documents/github/work/trustfull-demonstrator/scripts/demo.py", line 353, in wrapper
return func(*args, **kwargs)
File "/home/slarse/Documents/github/work/trustfull-demonstrator/scripts/demo.py", line 378, in setup_vm
vm.get_prot_info()
File "/home/slarse/Documents/github/work/trustfull-demonstrator/scripts/demo.py", line 95, in get_prot_info
scp(
File "/home/slarse/Documents/github/work/trustfull-demonstrator/scripts/demo.py", line 541, in scp
return subprocess.run(["scp", src, dest], check=True)
File "/usr/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['scp', 'vmn@52.169.3.134:~/election/0-protInfo.xml', '0-protInfo.xml']' returned non-zero exit status 1.
It suggests that the identity file is not passed to scp.
I still run into trouble when not having ssh-agent running, and trying to run the
demo.py start
while specifying the identity file with-i
.I get the following crash:
It suggests that the identity file is not passed to
scp
.