get debug logs on SSH session is not a good practice. why dont you config a buffered logging and get logs from the buffered.
here the commands
!
logging buffered debugging
logging buffer-size 7665554
!
debug crypto condition peer x.x.x.x
debug crypto ikev1 127
debug crypto ipsec 127
this is the safest way if you dont have access to console the ASA.
please do not forget to rate.